procedure: delete dossiers on destroy
This commit is contained in:
parent
3f0f22d849
commit
fb75461c78
2 changed files with 15 additions and 5 deletions
|
@ -54,6 +54,7 @@ class Admin::ProceduresController < AdminController
|
|||
return render json: {}, status: 401
|
||||
end
|
||||
|
||||
procedure.reset!
|
||||
procedure.destroy
|
||||
|
||||
flash.notice = 'Démarche supprimée'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue