lib/generators/refinery/pages/templates/config/initializers/refinery/pages.rb.erb in refinerycms-pages-2.1.5 vs lib/generators/refinery/pages/templates/config/initializers/refinery/pages.rb.erb in refinerycms-pages-3.0.0

- old
+ new

@@ -12,10 +12,14 @@ # config.new_page_parts = <%= Refinery::Pages.new_page_parts.inspect %> # Configure whether to enable marketable_urls # config.marketable_urls = <%= Refinery::Pages.marketable_urls.inspect %> + # You can specify reserved words that won't be used as page slugs. + # This only applies when marketable_urls is enabled. + # config.friendly_id_reserved_words = <%= Refinery::Pages.friendly_id_reserved_words.inspect %> + # Configure how many pages per page should be displayed when a dialog is presented that contains a links to pages # config.pages_per_dialog = <%= Refinery::Pages.pages_per_dialog.inspect %> # Configure how many pages per page should be displayed in the list of pages in the admin area # config.pages_per_admin_index = <%= Refinery::Pages.pages_per_admin_index.inspect %> @@ -46,9 +50,17 @@ # config.auto_expand_admin_tree = <%= Refinery::Pages.auto_expand_admin_tree.inspect %> # config.layout_template_whitelist = <%= Refinery::Pages.layout_template_whitelist.inspect %> # config.use_layout_templates = <%= Refinery::Pages.use_layout_templates.inspect %> + + # Use these if you want to use layout or view templates whose filenames do not match the default pattern + # For more information on the patterns see Dir.glob (http://ruby-doc.org/core-2.2.0/Dir.html#method-c-glob) + # example: for .erb, .html and .rb view templates use + # config.view_templates_pattern = 'app', 'views', '{pages,refinery/pages}', '*.{erb,html,rb}' + + # config.layout_templates_pattern = 'app', 'views', '{layouts,refinery/layouts}', '*html*' + # config.view_templates_pattern = 'app', 'views', '{pages,refinery/pages}', '*html*' # config.page_title = <%= Refinery::Pages.page_title.inspect %> # config.absolute_page_links = <%= Refinery::Pages.absolute_page_links.inspect %>