Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef4dd8e

Browse files
committed
minor #14939 Clarify the role of http_method_override (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- Clarify the role of http_method_override See also symfony/recipes#892 Commits ------- 91ecbda Clarify the role of http_method_override
2 parents dd2c988 + 91ecbda commit ef4dd8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

forms.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,8 @@ to the ``form()`` or the ``form_start()`` helper functions:
777777
that stores this method. The form will be submitted in a normal ``POST``
778778
request, but :doc:`Symfony's routing </routing>` is capable of detecting the
779779
``_method`` parameter and will interpret it as a ``PUT``, ``PATCH`` or
780-
``DELETE`` request. See the :ref:`configuration-framework-http_method_override` option.
780+
``DELETE`` request. The :ref:`configuration-framework-http_method_override`
781+
option must be enabled for this to work.
781782

782783
Changing the Form Name
783784
~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)