lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-1.0.0.pre2 vs lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-1.0.0.pre3
- old
+ new
@@ -119,19 +119,22 @@
# This allows your users to comment on any resource registered with Active Admin.
#
# You can completely disable comments:
# config.comments = false
#
- # You can disable the menu item for the comments index page:
- # config.show_comments_in_menu = false
- #
# You can change the name under which comments are registered:
# config.comments_registration_name = 'AdminComment'
#
# You can change the order for the comments and you can change the column
- # to be used for ordering
+ # to be used for ordering:
# config.comments_order = 'created_at ASC'
+ #
+ # You can disable the menu item for the comments index page:
+ # config.comments_menu = false
+ #
+ # You can customize the comment menu:
+ # config.comments_menu = { parent: 'Admin', priority: 1 }
# == Batch Actions
#
# Enable and disable Batch Actions
#
@@ -257,6 +260,13 @@
# 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
+ #
+ # By default the filters include associations in a select, which means
+ # that every record will be loaded for each association.
+ # You can enabled or disable the inclusion
+ # of those filters by default here.
+ #
+ # config.include_default_association_filters = true
end