Fix controller js and css loading error
This commit is contained in:
parent
af98f8efce
commit
c85629d3b3
|
@ -5,11 +5,11 @@
|
||||||
<%= render 'layouts/meta' %>
|
<%= render 'layouts/meta' %>
|
||||||
<%= render 'layouts/google_font' %>
|
<%= render 'layouts/google_font' %>
|
||||||
<%= stylesheet_link_tag "back_end" %>
|
<%= stylesheet_link_tag "back_end" %>
|
||||||
<%= stylesheet_link_tag params[:controller] %>
|
<%= stylesheet_link_tag params[:controller] if Rails.application.assets.find_asset params[:controller] %>
|
||||||
<%= yield :page_specific_css %>
|
<%= yield :page_specific_css %>
|
||||||
<%= render 'layouts/ie_html5_fix' %>
|
<%= render 'layouts/ie_html5_fix' %>
|
||||||
<%= javascript_include_tag "back_end" %>
|
<%= javascript_include_tag "back_end" %>
|
||||||
<%= javascript_include_tag params[:controller] %>
|
<%= javascript_include_tag params[:controller] if Rails.application.assets.find_asset params[:controller] %>
|
||||||
<%= yield :page_specific_javascript %>
|
<%= yield :page_specific_javascript %>
|
||||||
<%= csrf_meta_tag %>
|
<%= csrf_meta_tag %>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue