diff options
author | zeripath <art27@cantab.net> | 2019-10-23 22:04:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 22:04:22 +0100 |
commit | c84174b7640c17c85c8e3bb86c02cd39b09822e1 (patch) | |
tree | c3b21092e54b46ff05bd09c581f73daccdd3aa61 /modules | |
parent | 22272fe1e44fb6f1084f34694f6834d97167b3e1 (diff) | |
download | gitea-c84174b7640c17c85c8e3bb86c02cd39b09822e1.tar.gz gitea-c84174b7640c17c85c8e3bb86c02cd39b09822e1.zip |
Use AppSubUrl for more redirections (#8647)
Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template
Fixes /explore and organisation redirection
Diffstat (limited to 'modules')
-rw-r--r-- | modules/context/org.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/org.go b/modules/context/org.go index 4867474334..10791c9d01 100644 --- a/modules/context/org.go +++ b/modules/context/org.go @@ -63,7 +63,7 @@ func HandleOrgAssignment(ctx *Context, args ...bool) { // Force redirection when username is actually a user. if !org.IsOrganization() { - ctx.Redirect("/" + org.Name) + ctx.Redirect(setting.AppSubURL + "/" + org.Name) return } |