lib/generators/refinery/pages/templates/config/initializers/refinery/pages.rb.erb in refinerycms-pages-3.0.2 vs lib/generators/refinery/pages/templates/config/initializers/refinery/pages.rb.erb in refinerycms-pages-3.0.3
- old
+ new
@@ -38,14 +38,13 @@
# 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
+ # Set this to true to activate full-page-cache.
+ # If you use Rails 4.0+ and set config.cache_pages_full to true, you have to add this gem in your Gemfile:
+ # gem 'actionpack-page_caching'
# config.cache_pages_full = <%= Refinery::Pages.cache_pages_full.inspect %>
# 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 %>
@@ -64,6 +63,10 @@
# 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 %>
+
+ # config.add_whitelist_elements = <%= Refinery::Pages.add_whitelist_elements.inspect %>
+
+ # config.add_whitelist_attributes = <%= Refinery::Pages.add_whitelist_attributes.inspect %>
end