Sha256: 0e40e16dd73a77be3598aa598d69f87648442a7421257400b88d4df56d56b447
Contents?: true
Size: 691 Bytes
Versions: 3
Compression:
Stored size: 691 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_rakismet, :custom_fields, :custom_comment_fields ) 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.custom_fields = [] self.custom_comment_fields = [] self.enable_rakismet = false end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spud_blog-1.0.2 | lib/spud_blog/configuration.rb |
spud_blog-1.0.1 | lib/spud_blog/configuration.rb |
spud_blog-1.0.0 | lib/spud_blog/configuration.rb |