Sha256: 722f3a3464308c04ae98f21cb2e44371616fa44f80341265e46368a0f6345b41
Contents?: true
Size: 1.14 KB
Versions: 11
Compression:
Stored size: 1.14 KB
Contents
Radiant.config do |config| config.namespace('forum') do |forum| forum.define 'public?', :default => true forum.define 'cached?', :default => true forum.define 'cache_duration', :default => 60, :type => :integer, :units => "minutes" forum.define 'toolbar?', :default => true forum.define 'editable_period', :type => :integer, :default => 30, :units => "minutes" forum.define 'offer_rss?', :default => false forum.define 'allow_page_comments?', :default => true forum.define 'allow_attachments?', :default => true forum.define 'attachment.content_types' forum.define 'attachment.max_size', :type => :integer, :default => 10, :units => "MB" forum.define 'layout', :select_from => lambda { Layout.all.map(&:name) }, :allow_blank => false forum.define 'default_forum', :select_from => lambda { Forum.all.map(&:name) }, :allow_blank => false forum.define 'paginate_posts?', :default => true forum.define 'posts_per_page', :type => :integer, :default => 20 forum.define 'commentable_period', :type => :integer, :default => 7, :units => "days" forum.define 'allow_search_by_reader?', :default => true end end
Version data entries
11 entries across 11 versions & 1 rubygems