File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments