From 46ebed367d6d4210849cb157bf2b381492a1f551 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Mon, 7 Dec 2015 20:08:36 -0600 Subject: [PATCH] Comment, Story: crank MAX_EDIT_MINS to 6 hours --- app/models/comment.rb | 2 +- app/models/story.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/comment.rb b/app/models/comment.rb index 352d965..3ad6511 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -25,7 +25,7 @@ class Comment < ActiveRecord::Base DOWNVOTABLE_DAYS = 7 # after this many minutes old, a comment cannot be edited - MAX_EDIT_MINS = (60 * 4) + MAX_EDIT_MINS = (60 * 6) validate do self.comment.to_s.strip == "" && diff --git a/app/models/story.rb b/app/models/story.rb index ae3e2e9..f584b2e 100644 --- a/app/models/story.rb +++ b/app/models/story.rb @@ -28,7 +28,7 @@ class Story < ActiveRecord::Base DOWNVOTABLE_DAYS = 14 # after this many minutes old, a story cannot be edited - MAX_EDIT_MINS = (60 * 3) + MAX_EDIT_MINS = (60 * 6) # days a story is considered recent, for resubmitting RECENT_DAYS = 30