Unified link creation. (#15619)

This commit is contained in:
KN4CK3R
2021-04-30 19:25:13 +02:00
committed by GitHub
parent 1456978246
commit c80d7f33b6
11 changed files with 27 additions and 24 deletions
+1 -1
View File
@@ -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())
}