Limit RfC display to the last three months

This commit is contained in:
Sebastian Serth
2022-04-26 19:00:55 +02:00
parent 305ee0ea0c
commit 0f378ce151

View File

@ -9,7 +9,7 @@ class Submission < ApplicationRecord
remoteSubmit].freeze
FILENAME_URL_PLACEHOLDER = '{filename}'
MAX_COMMENTS_ON_RECOMMENDED_RFC = 5
OLDEST_RFC_TO_SHOW = 6.months
OLDEST_RFC_TO_SHOW = 3.months
belongs_to :exercise
belongs_to :study_group, optional: true