[Fix #3027] Redirect to the demarches index after a demarche deletion
This commit is contained in:
parent
75777e7af8
commit
dc89c7f530
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ module Manager
|
|||
procedure = Procedure.find(params[:id])
|
||||
procedure.hide!
|
||||
flash[:notice] = "La démarche a bien été supprimée, en cas d'erreur contactez un développeur."
|
||||
redirect_to manager_procedure_path(procedure)
|
||||
redirect_to manager_procedures_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue