Revert partial changes from 9db855f, keeping changes to preview_middleware and teams_new

This commit is contained in:
2026-02-19 19:01:07 +11:00
parent 52a168f1aa
commit 4b81ac12cf
13 changed files with 73 additions and 311 deletions

View File

@@ -97,32 +97,6 @@ func addRoutes(
Method: hws.MethodPOST,
Handler: perms.RequirePermission(s, permissions.SeasonsUpdate)(handlers.SeasonEditSubmit(s, conn)),
},
// Draft season tab pages (must be before league routes to avoid conflicts)
{
Path: "/seasons/{season_short_name}/table",
Method: hws.MethodGET,
Handler: handlers.DraftSeasonTabPage(s, conn, "table"),
},
{
Path: "/seasons/{season_short_name}/fixtures",
Method: hws.MethodGET,
Handler: handlers.DraftSeasonTabPage(s, conn, "fixtures"),
},
{
Path: "/seasons/{season_short_name}/teams",
Method: hws.MethodGET,
Handler: handlers.DraftSeasonTabPage(s, conn, "teams"),
},
{
Path: "/seasons/{season_short_name}/stats",
Method: hws.MethodGET,
Handler: handlers.DraftSeasonTabPage(s, conn, "stats"),
},
{
Path: "/seasons/{season_short_name}/finals",
Method: hws.MethodGET,
Handler: handlers.DraftSeasonTabPage(s, conn, "finals"),
},
{
Path: "/seasons/{season_short_name}/leagues/{league_short_name}",
Method: hws.MethodGET,