diff --git a/routing.rst b/routing.rst index 9c07a7c66ec..91717399fd7 100644 --- a/routing.rst +++ b/routing.rst @@ -304,6 +304,13 @@ Use the ``methods`` option to restrict the verbs each route should respond to: ``_method`` with the method to use (e.g. ````). If you create your forms with :doc:`Symfony Forms ` this is done automatically for you. + Also note that ```framework.http_method_override``` needs to be set for this to work : + + .. code-block:: yaml + + # config/packages/framework.yaml + framework: + http_method_override: true .. _routing-matching-expressions: