config/initializers/the_comments.rb in the_comments-2.0.0 vs config/initializers/the_comments.rb in the_comments-2.0.1
- old
+ new
@@ -1,13 +1,14 @@
# 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.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
-end
\ No newline at end of file
+end