Sha256: 4552c006be7358883a9703ccaf6105ea6415cf19cce255b65c6064b0abb5f8dd

Contents?: true

Size: 610 Bytes

Versions: 2

Compression:

Stored size: 610 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, :caching_enabled, :caching_expires_in
    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.caching_enabled = true
    self.caching_expires_in = 1.hour
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spud_blog-0.6.3 lib/spud_blog/configuration.rb
spud_blog-0.6.0 lib/spud_blog/configuration.rb