Sha256: b172fe40bb67be6035a295ea8ef821ea130799532074bf6d2baad90d3547b0ee

Contents?: true

Size: 789 Bytes

Versions: 4

Compression:

Stored size: 789 Bytes

Contents

module Spud
  module Blog
    include ActiveSupport::Configurable
    config_accessor(
      :base_layout, :news_layout, :blog_enabled,
      :news_enabled, :posts_per_page, :blog_path,
      :news_path, :enable_sitemap, :has_custom_fields,
      :enable_action_caching, :action_caching_duration,
      :enable_full_page_caching,:enable_rakismet
    )
    self.base_layout = 'application'
    self.news_layout = nil
    self.news_enabled = false
    self.blog_enabled = true
    self.posts_per_page = 5
    self.blog_path = 'blog'
    self.news_path = 'news'
    self.enable_sitemap = true
    self.has_custom_fields = false
    self.enable_action_caching = false
    self.action_caching_duration = 3600
    self.enable_full_page_caching = false
    self.enable_rakismet = false
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spud_blog-0.8.18 lib/spud_blog/configuration.rb
spud_blog-0.8.17 lib/spud_blog/configuration.rb
spud_blog-0.8.16 lib/spud_blog/configuration.rb
spud_blog-0.8.15 lib/spud_blog/configuration.rb