Each assets/javascripts/controller.js has all the ‘requires’ needed
<%= javascript_include_tag "application", params[:controller] %>
Each assets/javascripts/controller.js has all the ‘requires’ needed
<%= javascript_include_tag "application", params[:controller] %>