I have a small third party flash application I’d like to incorporate in my rails app, but I am struggling to get it working properly.
-
I believe it belongs in vendor opposed to lib, correct?
-
Let’s say I want the flash app to be loaded in my users controller in the signature action, how would I go about loading it in there. The app has multiple files, and lets say the final page to view is called xyz.html. How can I route/link my signature view to show xyz.html (located in vendor/plugins/sig/mouse/xyz.html) ?
Thanks.
A Flash application needs to be web-viewable to work, right?
Then it should go in the
publicfolder.Files in that folder will be served up by the web server, bypassing Rails. So the file at
public/foobar.htmlcan be found at http://localhost:3000/foobar.html