fix limit date for notice validation

This commit is contained in:
Christophe Robillard 2021-03-05 08:34:39 +01:00
parent 3969556e31
commit 6169399a6b

View file

@ -202,7 +202,7 @@ class Procedure < ApplicationRecord
"image/jpg",
"image/png",
"text/plain"
], size: { less_than: 20.megabytes }, if: -> { new_record? || created_at > Date.new(2020, 2, 27) }
], size: { less_than: 20.megabytes }, if: -> { new_record? || created_at > Date.new(2020, 2, 28) }
validates :deliberation, content_type: [
"application/msword",