Merge pull request #3028 from betagouv/fix-3027
[Fix #3027] Redirect to the demarches index after a demarche deletion
This commit is contained in:
commit
84433222fb
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