seasons can be added now

This commit is contained in:
2026-02-02 19:46:14 +11:00
parent 9c70458b76
commit ef5a0dc078
8 changed files with 860 additions and 6 deletions

View File

@@ -74,9 +74,14 @@ func addRoutes(
},
{
Path: "/seasons/new",
Methods: []hws.Method{hws.MethodGET, hws.MethodPOST},
Method: hws.MethodGET,
Handler: handlers.NewSeason(s, conn),
},
{
Path: "/seasons/new",
Method: hws.MethodPOST,
Handler: handlers.NewSeasonSubmit(s, conn),
},
{
Path: "/seasons/{season_short_name}",
Method: hws.MethodGET,