seasons can be added now
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user