[Fix #3027] Redirect to the demarches index after a demarche deletion

This commit is contained in:
gregoirenovel 2018-11-22 00:02:01 +01:00
parent 75777e7af8
commit dc89c7f530

View file

@ -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