Controller-specific assets with Rails 4
I recently found that despite appearances, all your controller-specific asset files (i.e. assets generated with “rails g controller blah”) are actually loaded into every page.
This post explains how to change this behaviour and get the assets loading where you expect.
Post a comment