lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-0.5.1 vs lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-0.6.0
- old
+ new
@@ -147,6 +147,64 @@
# Set the CSV builder separator (default is ",")
# config.csv_column_separator = ','
#
# Set the CSV builder options (default is {})
# config.csv_options = {}
+
+
+ # == Menu System
+ #
+ # You can add a navigation menu to be used in your application, or configure a provided menu
+ #
+ # To change the default utility navigation to show a link to your website & a logout btn
+ #
+ # config.namespace :admin do |admin|
+ # admin.build_menu :utility_navigation do |menu|
+ # menu.add label: "My Great Website", url: "http://www.mygreatwebsite.com", html_options: { target: :blank }
+ # admin.add_logout_button_to_menu menu
+ # end
+ # end
+ #
+ # If you wanted to add a static menu item to the default menu provided:
+ #
+ # config.namespace :admin do |admin|
+ # admin.build_menu :default do |menu|
+ # menu.add label: "My Great Website", url: "http://www.mygreatwebsite.com", html_options: { target: :blank }
+ # end
+ # end
+
+ # == Download Links
+ #
+ # You can disable download links on resource listing pages,
+ # or customize the formats shown per namespace/globally
+ #
+ # To disable/customize for the :admin namespace:
+ #
+ # config.namespace :admin do |admin|
+ #
+ # # Disable the links entirely
+ # admin.download_links = false
+ #
+ # # Only show XML & PDF options
+ # admin.download_links = [:xml, :pdf]
+ #
+ # end
+
+
+ # == Pagination
+ #
+ # Pagination is enabled by default for all resources.
+ # You can control the default per page count for all resources here.
+ #
+ # config.default_per_page = 30
+
+
+ # == Filters
+ #
+ # 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