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 received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to