Sha256: 059db91f8bcaae40d8c28cfe74b05e4bde3fe2978470286b10527ae6213307cc

Contents?: true

Size: 619 Bytes

Versions: 8

Compression:

Stored size: 619 Bytes

Contents

module Spud
  module Blog
    include ActiveSupport::Configurable
    config_accessor(
      :base_layout, :news_layout, :blogs, :news_enabled, :blog_enabled, :blog_path, :news_path, :posts_per_page,
      :permitted_attributes, :query_for_user, :disqus_shortname
    )
    self.base_layout = 'application'
    self.posts_per_page = 5

    self.news_layout = 'application'
    self.news_enabled = false
    self.blog_enabled = true
    self.blog_path = '/blog'
    self.news_path = '/news'

    self.permitted_attributes = []
    self.query_for_user = nil
    self.disqus_shortname = nil

    self.blogs = []
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tb_blog-1.4.4 lib/spud_blog/configuration.rb
tb_blog-1.4.3 lib/spud_blog/configuration.rb
tb_blog-1.4.2 lib/spud_blog/configuration.rb
tb_blog-1.3.5 lib/spud_blog/configuration.rb
tb_blog-1.4.1 lib/spud_blog/configuration.rb
tb_blog-1.4.0 lib/spud_blog/configuration.rb
tb_blog-1.3.4 lib/spud_blog/configuration.rb
tb_blog-1.4.beta1 lib/spud_blog/configuration.rb