lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-1.0.0.pre4 vs lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-1.0.0.pre5
- old
+ new
@@ -143,11 +143,11 @@
# == Controller Filters
#
# 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
+ # config.before_action :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
@@ -267,6 +267,20 @@
# 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
+
+ # == Footer
+ #
+ # By default, the footer shows the current Active Admin version. You can
+ # override the content of the footer here.
+ #
+ # config.footer = 'my custom footer text'
+
+ # == Sorting
+ #
+ # By default ActiveAdmin::OrderClause is used for sorting logic
+ # You can inherit it with own class and inject it for all resources
+ #
+ # config.order_clause = MyOrderClause
end