lib/generators/trestle/install/templates/trestle.rb.erb in trestle-0.9.5 vs lib/generators/trestle/install/templates/trestle.rb.erb in trestle-0.9.6

- old
+ new

@@ -13,11 +13,11 @@ # Specify a custom image to be used for the collapsed/tablet navigation. # # config.site_logo_small = "logo-small.png" - # Speficy a favicon to be used within the admin. + # Specify a favicon to be used within the admin. # # config.favicon = "favicon.ico" # Set the text shown in the page footer within the admin. # Defaults to 'Powered by Trestle'. @@ -100,9 +100,14 @@ # Specify the parameters that should persist across requests when # paginating or reordering. Defaults to [:sort, :order, :scope]. # # config.persistent_params << :query + + # List of methods to try calling on an instance when displayed by the `display` helper. + # Defaults to [:display_name, :full_name, :name, :title, :username, :login, :email]. + # + # config.display_methods.unshift(:admin_label) # Customize the default adapter class used by all admin resources. # See the documentation on Trestle::Adapters::Adapter for details on # the adapter methods that can be customized. #