diff --git a/config/initializers/active_admin.rb b/config/initializers/active_admin.rb index 7f64a2d8..765d17f1 100644 --- a/config/initializers/active_admin.rb +++ b/config/initializers/active_admin.rb @@ -1,5 +1,4 @@ ActiveAdmin.setup do |config| - # == Site Title # # Set the title that is displayed on the main layout @@ -10,14 +9,14 @@ ActiveAdmin.setup do |config| # Set the link url for the title. For example, to take # users to your main site. Defaults to no link. # - # config.site_title_link = "/" + config.site_title_link = '/' # Set an optional image to be displayed for the header # instead of a string (overrides :site_title) # # Note: Aim for an image that's 21px high so it fits in the header. # - # config.site_title_image = "logo.png" + # config.site_title_image = 'logo.png' # == Default Namespace # @@ -41,11 +40,11 @@ ActiveAdmin.setup do |config| # within a namespace: # # config.namespace :admin do |admin| - # admin.site_title = "Custom Admin Title" + # admin.site_title = 'Custom Admin Title' # end # # This will ONLY change the title for the admin section. Other - # namespaces will continue to use the main "site_title" configuration. + # namespaces will continue to use the main 'site_title' configuration. # == User Authentication # @@ -66,7 +65,7 @@ ActiveAdmin.setup do |config| # config.authorization_adapter = ActiveAdmin::CanCanAdapter # You can customize your CanCan Ability class name here. - # config.cancan_ability_class = "Ability" + # config.cancan_ability_class = 'Ability' # You can specify a method to be called on unauthorized access. # This is necessary in order to prevent a redirect loop which happens @@ -175,8 +174,8 @@ ActiveAdmin.setup do |config| # # config.namespace :admin do |admin| # admin.build_menu :utility_navigation do |menu| - # menu.add label: "My Great Website", - # url: "http://www.mygreatwebsite.com", + # menu.add label: 'My Great Website', + # url: 'http://www.mygreatwebsite.com', # html_options: { target: :blank } # admin.add_logout_button_to_menu menu # end @@ -186,8 +185,8 @@ ActiveAdmin.setup do |config| # # config.namespace :admin do |admin| # admin.build_menu :default do |menu| - # menu.add label: "My Great Website", - # url: "http://www.mygreatwebsite.com", + # menu.add label: 'My Great Website', + # url: 'http://www.mygreatwebsite.com', # html_options: { target: :blank } # end # end @@ -222,10 +221,9 @@ ActiveAdmin.setup do |config| # == Filters # - # By default the index screen includes a "Filters" sidebar on the right hand + # By default the index screen includes a 'Filters' sidebar on the right hand # side with a filter for each attribute of the registered model. # You can enable or disable them for all resources here. # # config.filters = true - end