diff --git a/routers/web/org/projects.go b/routers/web/org/projects.go index 6449d12de1..046100c72e 100644 --- a/routers/web/org/projects.go +++ b/routers/web/org/projects.go @@ -205,7 +205,7 @@ func DeleteProject(ctx *context.Context) { } ctx.JSON(http.StatusOK, map[string]interface{}{ - "redirect": ctx.Repo.RepoLink + "/projects", + "redirect": ctx.ContextUser.HomeLink() + "/-/projects", }) }