Displaying 1 result from an estimated 1 matches for "productvalid".
2011 Sep 05
0
How to display controller specific javascript in rails 3.1?
I have my assets folder structure like this
assets
javascripts
products
--product.js
--productValidate.js
store
--store.js
I want the project.js and projectValidate.js to be added in my
application.js as a part of asset pipe-lining only when actions in
product controller is called and store.js when actions in store
controller is called. How can i achieve this in rails 3.1?
--
You rece...