🐛 (examples): Evita 405 al enviar los formularios
This commit is contained in:
parent
dbdaeb6151
commit
5d199ef10d
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ impl Extension for FormControls {
|
|||
}
|
||||
|
||||
fn configure_router(&self, router: Router) -> Router {
|
||||
router.route("/", web::get(form_controls))
|
||||
router.route("/", web::get(form_controls).post(form_controls))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue