fix limit date for notice validation
This commit is contained in:
parent
3969556e31
commit
6169399a6b
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class Procedure < ApplicationRecord
|
||||||
"image/jpg",
|
"image/jpg",
|
||||||
"image/png",
|
"image/png",
|
||||||
"text/plain"
|
"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: [
|
validates :deliberation, content_type: [
|
||||||
"application/msword",
|
"application/msword",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue