Sha256: 210c4b9c1ae41774627a7fbfdbe4cc041ac3a8870a61871db20783bbae438f43

Contents?: true

Size: 743 Bytes

Versions: 17

Compression:

Stored size: 743 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
    )
    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
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spud_blog-0.8.14 lib/spud_blog/configuration.rb
spud_blog-0.8.13 lib/spud_blog/configuration.rb
spud_blog-0.8.12 lib/spud_blog/configuration.rb
spud_blog-0.8.11 lib/spud_blog/configuration.rb
spud_blog-0.8.8 lib/spud_blog/configuration.rb
spud_blog-0.8.7 lib/spud_blog/configuration.rb
spud_blog-0.8.6 lib/spud_blog/configuration.rb
spud_blog-0.8.5 lib/spud_blog/configuration.rb
spud_blog-0.8.4 lib/spud_blog/configuration.rb
spud_blog-0.8.3 lib/spud_blog/configuration.rb
spud_blog-0.8.2 lib/spud_blog/configuration.rb
spud_blog-0.8.1 lib/spud_blog/configuration.rb
spud_blog-0.8.0 lib/spud_blog/configuration.rb
spud_blog-0.7.5 lib/spud_blog/configuration.rb
spud_blog-0.7.4 lib/spud_blog/configuration.rb
spud_blog-0.7.2 lib/spud_blog/configuration.rb
spud_blog-0.7.0 lib/spud_blog/configuration.rb