Sha256: c099559a11b4ed109d1a8ece6dc5ebd0fa27b3607baffd5cb569ee439e53a2aa

Contents?: true

Size: 726 Bytes

Versions: 6

Compression:

Stored size: 726 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,
      :cache_mode, :action_caching_duration,
      :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.cache_mode = nil #options :full_page, :action
    self.action_caching_duration = 3600
    self.enable_rakismet = false
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spud_blog-0.9.5 lib/spud_blog/configuration.rb
spud_blog-0.9.4 lib/spud_blog/configuration.rb
spud_blog-0.9.3 lib/spud_blog/configuration.rb
spud_blog-0.9.2 lib/spud_blog/configuration.rb
spud_blog-0.9.1 lib/spud_blog/configuration.rb
spud_blog-0.9.0 lib/spud_blog/configuration.rb