diff --git a/app/models/article.rb b/app/models/article.rb index 03b379a..a6d1d5c 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -30,7 +30,7 @@ def check_published_title_is_unique # -- # @api public def comments_allowed? - published_at > Date.today - 30 ? true : false + published_at > Date.today - 60 ? true : false end # Extract an excerpt from the body diff --git a/config/dependencies.rb b/config/dependencies.rb index fba6a19..92009cc 100644 --- a/config/dependencies.rb +++ b/config/dependencies.rb @@ -24,4 +24,4 @@ dependency "merb-builder", "0.9.8" -dependency "RedCloth", "> 4.0" \ No newline at end of file +dependency "RedCloth", "> 4" \ No newline at end of file