Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds _stylesheet to the resources to be generated. (#916)
This produces a file like the following: <%# # Stylesheet Partial This partial imports the necessary stylesheets on each page. By default, it includes the application CSS, but each page can define additional CSS sources by providing a `content_for(:stylesheet)` block. %> <% Administrate::Engine.stylesheets.each do |css_path| %> <%= stylesheet_link_tag css_path %> <% end %> <%= yield :stylesheet %> In `app/views/admin/application/_stylesheet.html.erb`. Fixes #888.
- Loading branch information