From 3ec465872eba7b3a459f88c121d5ff6dc2ae4f3e Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Wed, 29 May 2024 09:19:53 -0400 Subject: [PATCH] Fixed typo in test view route --- web/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/routes.go b/web/routes.go index 69cef84..6a4e9b5 100644 --- a/web/routes.go +++ b/web/routes.go @@ -51,6 +51,6 @@ func RegisterRoutes(f *flamego.Flame) { f.Get("/create", routes.TestGetCreate) f.Post("/create", binding.Form(forms.TestForm{}), routes.TestPostCreate) - f.Get("{test_id}", routes.TestGetView) + f.Get("/{test_id}", routes.TestGetView) }) }