Sha256: dce325950081990a1f3ae6f2cfd57ed0d304b6265f7a552263fa410e2bdf99c8
Contents?: true
Size: 790 Bytes
Versions: 1
Compression:
Stored size: 790 Bytes
Contents
# TheComments.config.param_name => value TheComments.configure do |config| config.max_reply_depth = 3 # comments tree depth config.tolerance_time = 10 # 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 config.template_engine = :haml config.empty_trap_protection = true config.tolerance_time_protection = true config.delete_descendants_on_node_delete = true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
the_comments-2.2.2 | config/initializers/the_comments.rb |