Comment, Story: crank MAX_EDIT_MINS to 6 hours

This commit is contained in:
joshua stein 2015-12-07 20:08:36 -06:00
parent b21f96cb1a
commit 46ebed367d
2 changed files with 2 additions and 2 deletions

View file

@ -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 == "" &&

View file

@ -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