diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-02-04 21:22:51 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-02-04 21:22:51 +0200 |
commit | 34fd7b7b89da669b09cbd910cea109ff106bd85f (patch) | |
tree | 6a61422c88ce095a2ac9ab17a7f1ddf324c9dad7 /lib | |
parent | 6cfebfae84491e4aa9aed8f3a7c019431dbb39c0 (diff) | |
download | refinerycms-blog-34fd7b7b89da669b09cbd910cea109ff106bd85f.tar.gz refinerycms-blog-34fd7b7b89da669b09cbd910cea109ff106bd85f.tar.bz2 refinerycms-blog-34fd7b7b89da669b09cbd910cea109ff106bd85f.zip |
Move some of the Refinery::Setting's over to Refinery::Blog.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/refinery/blog/configuration.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/refinery/blog/configuration.rb b/lib/refinery/blog/configuration.rb index aa1264a..5780a3e 100644 --- a/lib/refinery/blog/configuration.rb +++ b/lib/refinery/blog/configuration.rb @@ -2,8 +2,15 @@ module Refinery module Blog include ActiveSupport::Configurable - config_accessor :validate_source_url + config_accessor :validate_source_url, :comments_per_page, :posts_per_page, + :post_teaser_length, :approximate_ascii, :strip_non_ascii, :share_this_key self.validate_source_url = false + self.comments_per_page = 10 + self.posts_per_page = 10 + self.post_teaser_length = 250 + self.approximate_ascii = false + self.strip_non_ascii = false + self.share_this_key = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" end -end
\ No newline at end of file +end |