Merge pull request #10507 from demarches-simplifiees/fix-clone-monavis
ETQ admin: je souhaite que le lien JDMA soit réinitialisé lors du clonage d'une procédure
This commit is contained in:
commit
4d6b8d9536
1 changed files with 1 additions and 0 deletions
|
@ -559,6 +559,7 @@ class Procedure < ApplicationRecord
|
|||
procedure.closing_notification_brouillon = false
|
||||
procedure.closing_notification_en_cours = false
|
||||
procedure.template = false
|
||||
procedure.monavis_embed = nil
|
||||
|
||||
if !procedure.valid?
|
||||
procedure.errors.attribute_names.each do |attribute|
|
||||
|
|
Loading…
Reference in a new issue