diff options
Diffstat (limited to 'routers/org/members.go')
-rw-r--r-- | routers/org/members.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/org/members.go b/routers/org/members.go index 823daec948..d3bd51eae8 100644 --- a/routers/org/members.go +++ b/routers/org/members.go @@ -11,6 +11,7 @@ import ( "github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/log" "github.com/gogits/gogs/modules/middleware" + "github.com/gogits/gogs/modules/setting" ) const ( @@ -86,7 +87,7 @@ func MembersAction(ctx *middleware.Context) { if ctx.Params(":action") != "leave" { ctx.Redirect(ctx.Org.OrgLink + "/members") } else { - ctx.Redirect("/") + ctx.Redirect(setting.AppRootSubUrl + "/") } } |