Sha256: 988d4ef491ae3a1a64a0be638a12dff5442acf61b729c640ec1b22d021e5a74d

Contents?: true

Size: 561 Bytes

Versions: 3

Compression:

Stored size: 561 Bytes

Contents

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,:enable_full_page_caching

    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.enable_sitemap = true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spud_cms-0.4.5 lib/spud_cms/configuration.rb
spud_cms-0.4.4 lib/spud_cms/configuration.rb
spud_cms-0.4.3 lib/spud_cms/configuration.rb