diff options
author | KN4CK3R <KN4CK3R@users.noreply.github.com> | 2021-04-30 19:25:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-30 19:25:13 +0200 |
commit | c80d7f33b67ad1beff7378bcba3aa44ac84669e9 (patch) | |
tree | c479207edb2a5fe0f03d6f5d25b256a244d0dbea /routers/org/org.go | |
parent | 1456978246c263acd6523534cf36b35f5ddbe0eb (diff) | |
download | gitea-c80d7f33b67ad1beff7378bcba3aa44ac84669e9.tar.gz gitea-c80d7f33b67ad1beff7378bcba3aa44ac84669e9.zip |
Unified link creation. (#15619)
Diffstat (limited to 'routers/org/org.go')
-rw-r--r-- | routers/org/org.go | 2 |
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()) } |