Skip to content

Commit f9ef3ee

Browse files
committed
[#5352] minor language tweak
1 parent a02aa62 commit f9ef3ee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cookbook/routing/method_parameters.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ Faking the Method with ``_method``
8282
before you handle the request (e.g. in your front controller). In Symfony
8383
2.3, use the :ref:`configuration-framework-http_method_override` option.
8484

85-
Unfortunately, life isn't quite this simple, since most browsers do not
86-
support sending PUT and DELETE requests as method in HTML forms. Fortunately, Symfony provides you
87-
with a simple way of working around this limitation. By including a ``_method``
88-
parameter in the query string or parameters of an HTTP request, Symfony will
89-
use this as the method when matching routes. Forms automatically include a
85+
Unfortunately, life isn't quite this simple, since most browsers do not support
86+
sending PUT and DELETE requests via the `method` attribute in an HTML form. Fortunately,
87+
Symfony provides you with a simple way of working around this limitation. By including
88+
a ``_method`` parameter in the query string or parameters of an HTTP request, Symfony
89+
will use this as the method when matching routes. Forms automatically include a
9090
hidden field for this parameter if their submission method is not GET or POST.
9191
See :ref:`the related chapter in the forms documentation<book-forms-changing-action-and-method>`
9292
for more information.

0 commit comments

Comments
 (0)