Finishing the test/edit route
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending

This commit is contained in:
Gregory Ballantine
2025-10-02 11:28:56 -04:00
parent abc4abe80e
commit 352950467c
4 changed files with 19 additions and 10 deletions

View File

@@ -54,6 +54,7 @@ func RegisterRoutes(f *flamego.Flame) {
f.Group("/{test_id}", func() {
f.Get("", routes.TestGetView)
f.Get("/edit", routes.TestGetEdit)
f.Post("/edit", binding.Form(forms.TestForm{}), routes.TestPostEdit)
})
})