CSS stylesheet not being included in the application.css tree

Public, Other Languages

harrylevine

Created: Jul 16, 2015     Updated: Jul 16, 2015


If the global application.css isn’t attempting to include per-view stylesheets, add something like this to the top of your view:

<%= stylesheet_link_tag 'support_calls/dashboard' %>

In this example, the path to the view file is:

views/support_calls/dashboard.html.erb

and the path to the stylesheet is:

app/assets/stylesheets/support_calls/dashboard.css.scss