Skip to content

Commit

Permalink
fix: route for new form
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Aug 12, 2024
1 parent c436982 commit d10755c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ func (s *WebSrv) Start(ctx context.Context, ready server.ReadyFunc, run server.R
// Templates ...
templates := app.Group("/templates")
templates.Get("/", handlers.ListTemplates())
templates.Get("/:id", handlers.ShowTemplate())
templates.Get("/new", handlers.NewTemplate())
templates.Get("/:id", handlers.ShowTemplate())
templates.Post("/new", handlers.CreateTemplate())

// Me ...
Expand Down

0 comments on commit d10755c

Please sign in to comment.