diff --git a/routers/org/teams.go b/routers/org/teams.go index aed5c5bd7..cbf7f19a8 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") } diff --git a/templates/org/team/sidebar.tmpl b/templates/org/team/sidebar.tmpl index 02cb8d7d2..0edfcd014 100644 --- a/templates/org/team/sidebar.tmpl +++ b/templates/org/team/sidebar.tmpl @@ -3,7 +3,7 @@ {{.Team.Name}}