Allow http_method_override again needed for deletion controllers

Fixes issue #149 and #146
This commit is contained in:
Jan Böhmer 2022-07-22 00:30:17 +02:00
parent 28257bd8a4
commit c8c15fe67f

View file

@ -2,7 +2,10 @@
framework:
secret: '%env(APP_SECRET)%'
csrf_protection: true
http_method_override: false
# Must be set to true, to enable the change of HTTP methhod via _method parameter, otherwise our delete routines does not work anymore
# TODO: Rework delete routines to work without _method parameter as it is not recommended anymore (see https://github.com/symfony/symfony/issues/45278)
http_method_override: true
# Allow users to configure trusted hosts via .env variables
# see https://symfony.com/doc/current/reference/configuration/framework.html#trusted-hosts