Fix destroy dossiers on procedure reset
This commit is contained in:
parent
143428fb3f
commit
f6a6d8f457
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class Procedure < ApplicationRecord
|
|||
if locked?
|
||||
raise "Can not reset a locked procedure."
|
||||
else
|
||||
dossiers.delete_all
|
||||
dossiers.destroy_all
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue