Revert partial changes from 6193fe2, keeping changes to preview_middleware and teams_new
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user