Sha256: c7485e2cb6f444360a4ec7e058d34318af372090cb8a8ec6aca8f865bf5fe464
Contents?: true
Size: 779 Bytes
Versions: 3
Compression:
Stored size: 779 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, :enable_rakismet, :enable_markdown, :default_comment_approval ) 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.enable_rakismet = false self.enable_markdown = false self.default_comment_approval = true end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tb_blog-1.1.2 | lib/spud_blog/configuration.rb |
tb_blog-1.1.1 | lib/spud_blog/configuration.rb |
tb_blog-1.1.0 | lib/spud_blog/configuration.rb |