Added route to view test

This commit is contained in:
Gregory Ballantine
2024-05-29 08:42:53 -04:00
parent 9fd6ec6b0b
commit a51c8aa8a4
4 changed files with 22 additions and 1 deletions

View File

@ -36,5 +36,7 @@ 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)
})
}