mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 15:07:12 +02:00
fix leave team 404 (#1154)
This commit is contained in:
1 parent
d2b2881306
commit
b40496533b
2 files changed
+3
-1
No files matched your search
@@ -108,6 +108,8 @@ func TeamsAction(ctx *context.Context) {
|
||||
switch page {
|
||||
case "team":
|
||||
ctx.Redirect(ctx.Org.OrgLink + "/teams/" + ctx.Org.Team.LowerName)
|
||||
case "home":
|
||||
ctx.Redirect(ctx.Org.Organization.HomeLink())
|
||||
default:
|
||||
ctx.Redirect(ctx.Org.OrgLink + "/teams")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user