Sha256: dff2c95673535d8bccae1de3d2b200f58b3d2fe506d3d7c554227ddb69937a17
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
# TheComments.config.param_name => value TheComments.configure do |config| config.max_reply_depth = 3 # comments tree depth config.tolerance_time = 5 # sec - after this delay user can post a comment config.default_state = :draft # default state for comment config.default_owner_state = :published # default state for comment for Moderator config.empty_inputs = [:commentBody] # array of spam trap fields config.default_title = 'Undefined title' # default commentable_title for denormalization end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
the_comments-1.1.0 | lib/generators/the_comments/templates/the_comments.rb |
the_comments-1.0.0 | lib/generators/the_comments/templates/the_comments.rb |