aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--routers/web/org/projects.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/org/projects.go b/routers/web/org/projects.go
index 6449d12de..046100c72 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",
})
}