Merge pull request #2607 from tchak/do-not-clone-procedure-path
Do not clone procedure path
This commit is contained in:
commit
6cf7c2fe09
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ class Procedure < ApplicationRecord
|
|||
types_de_champ: :drop_down_list,
|
||||
types_de_champ_private: :drop_down_list
|
||||
})
|
||||
procedure.path = nil
|
||||
procedure.aasm_state = :brouillon
|
||||
procedure.test_started_at = nil
|
||||
procedure.archived_at = nil
|
||||
|
|
Loading…
Reference in a new issue