Fixed typo in test view route

This commit is contained in:
Gregory Ballantine 2024-05-29 09:19:53 -04:00
parent 52e4d9c420
commit 3ec465872e

View File

@ -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)
})
}