aboutsummaryrefslogtreecommitdiffstats
path: root/routers/org/org.go
diff options
context:
space:
mode:
authorKN4CK3R <KN4CK3R@users.noreply.github.com>2021-04-30 19:25:13 +0200
committerGitHub <noreply@github.com>2021-04-30 19:25:13 +0200
commitc80d7f33b67ad1beff7378bcba3aa44ac84669e9 (patch)
treec479207edb2a5fe0f03d6f5d25b256a244d0dbea /routers/org/org.go
parent1456978246c263acd6523534cf36b35f5ddbe0eb (diff)
downloadgitea-c80d7f33b67ad1beff7378bcba3aa44ac84669e9.tar.gz
gitea-c80d7f33b67ad1beff7378bcba3aa44ac84669e9.zip
Unified link creation. (#15619)
Diffstat (limited to 'routers/org/org.go')
-rw-r--r--routers/org/org.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/org/org.go b/routers/org/org.go
index ef96987d42..beba3daca4 100644
--- a/routers/org/org.go
+++ b/routers/org/org.go
@@ -75,5 +75,5 @@ func CreatePost(ctx *context.Context) {
}
log.Trace("Organization created: %s", org.Name)
- ctx.Redirect(setting.AppSubURL + "/org/" + form.OrgName + "/dashboard")
+ ctx.Redirect(org.DashboardLink())
}