Do not clone procedure path

This commit is contained in:
Paul Chavard 2018-09-18 14:31:29 +02:00
parent b13db523d5
commit 36812793d4

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