Sha256: 7091143da786524ded3a6f6220c12366589aabadeb2f054a7a0fff635a67e12b
Contents?: true
Size: 1.23 KB
Versions: 2
Compression:
Stored size: 1.23 KB
Contents
ActiveAdmin.setup do |config| # == Site Title # # Set the title that is displayed on the main layout # for each of the active admin pages. # config.site_title = "<%= Rails.application.class.name.split("::").first.titlecase %>" # == Default Namespace # # Set the default namespace each administration resource # will be added to. # # eg: # config.default_namespace = :hello_world # # This will create resources in the HelloWorld module and # will namespace routes to /hello_world/* # # To set no namespace by default, use: # config.default_namespace = false config.default_namespace = :admin # == Controller Filters # # You can add before, after and around filters to all of your # Active Admin resources from here. For example you may wish # to authenticate users before each request. # # config.before_filter :authenticate_user! # == Register Stylesheets & Javascripts # # We recomend using the built in Active Admin layout and loading # up your own stylesheets / javascripts to customize the look # and feel. # # To load a stylesheet: # config.register_stylesheet 'my_stylesheet.css' # # To load a javascript file: # config.register_javascript 'my_javascript.js' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-0.1.1 | lib/generators/active_admin/install/templates/active_admin.rb |
activeadmin-0.1.0 | lib/generators/active_admin/install/templates/active_admin.rb |