From 8f5fc965cb51c85a8791b839abe1f8cbaa275c57 Mon Sep 17 00:00:00 2001 From: Ludo van den Boom Date: Tue, 4 Nov 2008 10:24:55 +0100 Subject: [PATCH] Change configuration. --- app/models/article.rb | 2 +- config/dependencies.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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