File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,6 @@ delete it by matching on GET, PUT and DELETE.
7474 Faking the Method with ``_method ``
7575----------------------------------
7676
77- .. note ::
78-
79- The ``_method `` functionality shown here is disabled by default in Symfony 2.2
80- and enabled by default in Symfony 2.3 and above. To control it in Symfony 2.2, you
81- must call :method: `Request::enableHttpMethodParameterOverride <Symfony\\ Component\\ HttpFoundation\\ Request::enableHttpMethodParameterOverride> `
82- before you handle the request (e.g. in your front controller). In Symfony
83- 2.3, use the :ref: `configuration-framework-http_method_override ` option.
84-
8577Unfortunately, life isn't quite this simple, since most browsers do not support
8678sending PUT and DELETE requests via the `method ` attribute in an HTML form. Fortunately,
8779Symfony provides you with a simple way of working around this limitation. By including
@@ -90,3 +82,8 @@ will use this as the method when matching routes. Forms automatically include a
9082hidden field for this parameter if their submission method is not GET or POST.
9183See :ref: `the related chapter in the forms documentation<book-forms-changing-action-and-method> `
9284for more information.
85+
86+ .. tip ::
87+
88+ You can disable the ``_method `` functionality shown here using the
89+ :ref: `configuration-framework-http_method_override ` option.
You can’t perform that action at this time.
0 commit comments