lib/generators/refinery/pages/templates/config/initializers/refinery/pages.rb.erb in refinerycms-pages-2.0.10 vs lib/generators/refinery/pages/templates/config/initializers/refinery/pages.rb.erb in refinerycms-pages-2.1.0

- old
+ new

@@ -28,10 +28,16 @@ # Set this to true if you want to override slug which automatically gets generated # when you create a page # config.use_custom_slugs = <%= Refinery::Pages.use_custom_slugs.inspect %> + # Set this to true if page slugs generated by friendly_id should be scoped by parent. + # If false, page slugs are global, and are, in effect, custom routes that may contain slashes. + # By default, these routes will be flattened to the root, using the slugged page title, + # and will no longer be nested as children. + # config.scope_slug_by_parent = <%= Refinery::Pages.scope_slug_by_parent.inspect %> + # Set this to true if you want backend pages to be cached # config.cache_pages_backend = <%= Refinery::Pages.cache_pages_backend.inspect %> # Set this to true to activate full-page-cache # config.cache_pages_full = <%= Refinery::Pages.cache_pages_full.inspect %> @@ -39,15 +45,13 @@ # Set this to true to fully expand the page hierarchy in the admin # config.auto_expand_admin_tree = <%= Refinery::Pages.auto_expand_admin_tree.inspect %> # config.layout_template_whitelist = <%= Refinery::Pages.layout_template_whitelist.inspect %> - # config.view_template_whitelist = <%= Refinery::Pages.view_template_whitelist.inspect %> - # config.use_layout_templates = <%= Refinery::Pages.use_layout_templates.inspect %> - # config.use_view_templates = <%= Refinery::Pages.use_view_templates.inspect %> - # config.page_title = <%= Refinery::Pages.page_title.inspect %> # config.absolute_page_links = <%= Refinery::Pages.absolute_page_links.inspect %> + + # config.show_title_in_body = <%= Refinery::Pages.show_title_in_body.inspect %> end