Skip to content

Commit f9aaa15

Browse files
committed
Tweak
1 parent dcf44c4 commit f9aaa15

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

routing.rst

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -303,14 +303,8 @@ Use the ``methods`` option to restrict the verbs each route should respond to:
303303
route with a different method from an HTML form, add a hidden field called
304304
``_method`` with the method to use (e.g. ``<input type="hidden" name="_method" value="PUT">``).
305305
If you create your forms with :doc:`Symfony Forms </forms>` this is done
306-
automatically for you.
307-
Also note that ```framework.http_method_override``` needs to be set for this to work :
308-
309-
.. code-block:: yaml
310-
311-
# config/packages/framework.yaml
312-
framework:
313-
http_method_override: true
306+
automatically for you when the :ref:`framework.http_method_override <configuration-framework-http_method_override>`
307+
option is ``true``.
314308

315309
.. _routing-matching-expressions:
316310

0 commit comments

Comments
 (0)