aboutsummaryrefslogblamecommitdiffstats
path: root/lib/refinery/blog/configuration.rb
blob: b7598e8c7b0bc5c2f6bb22b1f4415dce748c5729 (plain) (tree)
1
2
3
4
5
6
7
8



                                       
                                                                              
                                                     

                                    


                                 
                                                                
                           
     
   
module Refinery
  module Blog
    include ActiveSupport::Configurable

    config_accessor :validate_source_url, :comments_per_page, :posts_per_page,
      :post_teaser_length, :share_this_key, :page_url

    self.validate_source_url = false
    self.comments_per_page = 10
    self.posts_per_page = 10
    self.post_teaser_length = 250
    self.share_this_key = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    self.page_url = "/blog"
  end
end