Is there a way to move this RJS code into a function to separate file?
.js files are not parsed as rjs so it won’t work. Can i just include
.rjs file like ordinary .js file?
Is there a way to move this RJS code into a function to separate file?
.js files are not parsed as rjs so it won’t work. Can i just include
.rjs file like ordinary .js file?
You can include the action with the same name as the RJS, ie
That should work, I've done that before.
j`ey
http://www.eachmapinject.com