From 576df8523d87f8e5b3b6441e0957f1921a3c67f0 Mon Sep 17 00:00:00 2001 From: micter59 Date: Thu, 15 Dec 2022 12:38:21 +0100 Subject: [PATCH] Update routing.rst --- routing.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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: