Limit RfC display to the last months

This commit is contained in:
Sebastian Serth
2022-05-06 16:29:52 +02:00
parent d9a2470a89
commit 6d95b921f0

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 = 3.months
OLDEST_RFC_TO_SHOW = 1.months
belongs_to :exercise
belongs_to :study_group, optional: true