Skip to content

Commit 2581966

Browse files
Matthew Brewergregbell
authored andcommitted
Added brief documentation to the ActiveAdmin initializer for the newly available options hash for CSS registration
1 parent 9dbc5b6 commit 2581966

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/generators/active_admin/install/templates/active_admin.rb.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ ActiveAdmin.setup do |config|
121121
# To load a stylesheet:
122122
# config.register_stylesheet 'my_stylesheet.css'
123123
#
124+
# You can provide an options hash for more control, which is passed along to stylesheet_link_tag():
125+
# config.register_stylesheet 'my_print_stylesheet.css', :media => :print
126+
#
124127
# To load a javascript file:
125128
# config.register_javascript 'my_javascript.js'
126129
end

0 commit comments

Comments
 (0)