Merge pull request #2607 from tchak/do-not-clone-procedure-path

Do not clone procedure path
This commit is contained in:
Paul Chavard 2018-09-18 13:48:41 +01:00 committed by GitHub
commit 6cf7c2fe09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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