summaryrefslogtreecommitdiffstats
path: root/routers/org/teams.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/org/teams.go')
-rw-r--r--routers/org/teams.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/org/teams.go b/routers/org/teams.go
index aed5c5bd76..cbf7f19a80 100644
--- a/routers/org/teams.go
+++ b/routers/org/teams.go
@@ -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")
}