Added ability to edit tests and hardware
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -24,6 +24,9 @@ func RegisterRoutes(f *flamego.Flame) {
|
||||
f.Post("/create", binding.Form(forms.HardwareForm{}), routes.HardwarePostCreate)
|
||||
|
||||
f.Get("/{hardware_id}", routes.HardwareGetView)
|
||||
|
||||
f.Get("/{hardware_id}/edit", routes.HardwareGetEdit)
|
||||
f.Post("/{hardware_id}/edit", binding.Form(forms.HardwareForm{}), routes.HardwarePostEdit)
|
||||
})
|
||||
|
||||
// benchmark routes
|
||||
|
Reference in New Issue
Block a user