lib/spud_cms/configuration.rb in spud_cms-0.3.7 vs lib/spud_cms/configuration.rb in spud_cms-0.4.0
- old
+ new
@@ -1,15 +1,17 @@
module Spud
module Cms
include ActiveSupport::Configurable
- config_accessor :menus_enabled,:templates_enabled,:root_page_name,:default_page_parts,:yield_body_as_content_block,:default_page_layout,:enable_sitemap
+ config_accessor :menus_enabled,:templates_enabled,:root_page_name,:default_page_parts,:yield_body_as_content_block,:default_page_layout,:enable_sitemap,:enable_full_page_caching,:page_cache_expires_in
self.root_page_name = "home"
self.menus_enabled = true
self.templates_enabled = false
self.default_page_layout = 'application'
self.default_page_parts = ["Body"]
self.yield_body_as_content_block = false
+ self.enable_full_page_caching = false
+ self.page_cache_expires_in = 10.minutes
self.enable_sitemap = true
end
end
\ No newline at end of file