lib/generators/trestle/install/templates/trestle.rb.erb in trestle-0.8.9 vs lib/generators/trestle/install/templates/trestle.rb.erb in trestle-0.8.10

- old
+ new

@@ -18,10 +18,15 @@ # Set the text shown in the page footer within the admin. # Defaults to 'Powered by Trestle'. # # config.footer = "Powered by Trestle" + # Sets the default precision for timestamps (either :minutes or :seconds). + # Defaults to :minutes. + # + # config.timestamp_precision = :minutes + # == Mounting Options # # Set the path at which to mount the Trestle admin. Defaults to /admin. # # config.path = "/admin" @@ -31,13 +36,18 @@ # # config.automount = false # == Navigation Options # + # Set the path to consider the application root (for title links and breadcrumbs). + # Defaults to the same value as `config.path`. + # + # config.root = "/" + # Set the initial breadcrumbs to display in the breadcrumb trail. - # Defaults to a breadcrumb labeled 'Home' linking to to the admin root. + # Defaults to a breadcrumb labeled 'Home' linking to to the application root. # - # config.root_breadcrumbs = -> { [Trestle::Breadcrumb.new("Home", Trestle.config.path)] } + # config.root_breadcrumbs = -> { [Trestle::Breadcrumb.new("Home", Trestle.config.root)] } # Set the default icon class to use when it is not explicitly provided. # Defaults to "fa fa-arrow-circle-o-right". # # config.default_navigation_icon = "fa fa-arrow-circle-o-right"