Enable test revisions
This commit is contained in:
parent
f288528e07
commit
280e54b59d
12 changed files with 36 additions and 44 deletions
|
@ -27,7 +27,7 @@ module NewAdministrateur
|
|||
end
|
||||
|
||||
def reset_procedure
|
||||
if @procedure.brouillon?
|
||||
if @procedure.brouillon? || @procedure.draft_changed?
|
||||
@procedure.reset!
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue