a procedure without zone is finally valid
This commit is contained in:
parent
c773fea916
commit
44018a86de
2 changed files with 0 additions and 14 deletions
|
@ -289,7 +289,6 @@ class Procedure < ApplicationRecord
|
|||
|
||||
validates :lien_dpo, email_or_link: true, allow_nil: true
|
||||
validates_with MonAvisEmbedValidator
|
||||
validates :zones, presence: true, if: -> record { record.publiee? && Flipper.enabled?(:zonage) }
|
||||
|
||||
FILE_MAX_SIZE = 20.megabytes
|
||||
validates :notice, content_type: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue