Added deprecated warning for RoutePartialGroup.

This commit is contained in:
Simon Sessingø
2021-03-29 21:59:30 +02:00
parent adc879bb13
commit 438193ef59
3 changed files with 15 additions and 37 deletions
-1
View File
@@ -688,7 +688,6 @@ SimpleRouter::partialGroup('/lang/{language}', function ($language) {
});
```
## Form Method Spoofing
HTML forms do not support `PUT`, `PATCH` or `DELETE` actions. So, when defining `PUT`, `PATCH` or `DELETE` routes that are called from an HTML form, you will need to add a hidden `_method` field to the form. The value sent with the `_method` field will be used as the HTTP request method: