lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-1.0.0.pre1 vs lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-1.0.0.pre2

- old
+ new

@@ -124,10 +124,14 @@ # 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 + # config.comments_order = 'created_at ASC' # == Batch Actions # # Enable and disable Batch Actions # @@ -138,14 +142,35 @@ # You can add before, after and around filters to all of your # Active Admin resources and pages from here. # # config.before_filter :do_something_awesome + # == Localize Date/Time Format + # + # Set the localize format to display dates and times. + # To understand how to localize your app with I18n, read more at + # https://github.com/svenfuchs/i18n/blob/master/lib%2Fi18n%2Fbackend%2Fbase.rb#L52 + # + config.localize_format = :long + # == Setting a Favicon # # config.favicon = 'favicon.ico' + # == Meta Tags + # + # Add additional meta tags to the head element of active admin pages. + # + # Add tags to all pages logged in users see: + # config.meta_tags = { author: 'My Company' } + + # By default, sign up/sign in/recover password pages are excluded + # from showing up in search engine results by adding a robots meta + # tag. You can reset the hash of meta tags included in logged out + # pages: + # config.meta_tags_for_logged_out_pages = {} + # == Removing Breadcrumbs # # Breadcrumbs are enabled by default. You can customize them for individual # resources or you can disable them globally from here. # @@ -220,9 +245,13 @@ # # 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 + # + # You can control the max per page count too. + # + # config.max_per_page = 10_000 # == 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.