Open jweslley opened 13 years ago
In Rails 3.1 the assets must be placed inside the app/assets directory instead of the public directory. Thus:
app/assets
public
public/stylesheets/web-app-theme
app/assets/stylesheets/web-app-theme
public/images/web-app-theme
app/assets/images/web-app-theme
In addition, the application.html.erb layout file must be just as follow:
application.html.erb
<%= stylesheet_link_tag :application %> <%= javascript_include_tag :application %> <%= csrf_meta_tags %>
This issue must be done ASAP.
In Rails 3.1 the assets must be placed inside the
app/assets
directory instead of thepublic
directory. Thus:public/stylesheets/web-app-theme
must be generated inapp/assets/stylesheets/web-app-theme
public/images/web-app-theme
must be generated inapp/assets/images/web-app-theme
In addition, the
application.html.erb
layout file must be just as follow:<%= stylesheet_link_tag :application %> <%= javascript_include_tag :application %> <%= csrf_meta_tags %>