How to change the asset path in RubyOnRails
December 10, 2005
Dropbox
Rails
Ruby
If you don't want to name your asset directories for javascript files and stylesheets "javascripts" and "stylesheets" here is how you can change the default path settings.
Add the following snippet to your app/controllers/application.rb: