lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-0.4.4 vs lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-0.5.0.pre
- old
+ new
@@ -84,10 +84,17 @@
# link. For example :get, :delete, :put, etc..
#
# Default:
# config.logout_link_method = :get
+ # == Root
+ #
+ # Set the action to call for the root path. You can set different
+ # roots for each namespace.
+ #
+ # Default:
+ # config.root_to = 'dashboard#index'
# == Admin Comments
#
# Admin comments allow you to add comments to any model for admin use.
# Admin comments are enabled by default.
@@ -102,10 +109,17 @@
# config.namespace :without_comments do |without_comments|
# without_comments.allow_comments = false
# end
+ # == Batch Actions
+ #
+ # Enable and disable Batch Actions
+ #
+ config.batch_actions = true
+
+
# == Controller Filters
#
# You can add before, after and around filters to all of your
# Active Admin resources from here.
#
@@ -118,12 +132,18 @@
# up your own stylesheets / javascripts to customize the look
# and feel.
#
# To load a stylesheet:
# config.register_stylesheet 'my_stylesheet.css'
- #
+
# You can provide an options hash for more control, which is passed along to stylesheet_link_tag():
# config.register_stylesheet 'my_print_stylesheet.css', :media => :print
#
# To load a javascript file:
# config.register_javascript 'my_javascript.js'
+
+
+ # == CSV options
+ #
+ # Set the CSV builder separator (default is ",")
+ # config.csv_column_separator = ','
end