lib/the_comments/config.rb in the_comments-0.9.0 vs lib/the_comments/config.rb in the_comments-0.9.9

- old
+ new

@@ -8,14 +8,17 @@ end # Configuration class class Configuration include ActiveSupport::Configurable - config_accessor :tolerance_time, :empty_inputs, :max_reply_depth + config_accessor :tolerance_time, :empty_inputs, :max_reply_depth, :default_state, :default_owner_state, :default_title end configure do |config| - config.max_reply_depth = 3 - config.tolerance_time = 5 - config.empty_inputs = [:message] + config.max_reply_depth = 3 + config.tolerance_time = 5 + config.default_state = :draft + config.default_owner_state = :published + config.empty_inputs = [:message] + config.default_title = 'Undefined title' end end \ No newline at end of file