I have been looking over the web for this but I can’t seem to find documentation for what I’m looking for.
I have a rails application and depending on which controller is used, I want to serve different css/js files.
Right now, I can either load EVERY file or only application.(css|js)
I solved this issue after a good night of sleep. Here’s the solution:
application.html.erb
controller.js.coffee
controller.css.scss