Fixed typo in test view route
This commit is contained in:
parent
52e4d9c420
commit
3ec465872e
@ -51,6 +51,6 @@ func RegisterRoutes(f *flamego.Flame) {
|
|||||||
f.Get("/create", routes.TestGetCreate)
|
f.Get("/create", routes.TestGetCreate)
|
||||||
f.Post("/create", binding.Form(forms.TestForm{}), routes.TestPostCreate)
|
f.Post("/create", binding.Form(forms.TestForm{}), routes.TestPostCreate)
|
||||||
|
|
||||||
f.Get("{test_id}", routes.TestGetView)
|
f.Get("/{test_id}", routes.TestGetView)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user