From: Raphaƫl Gertz Date: Thu, 7 Nov 2019 03:09:50 +0000 (+0100) Subject: Add manual wire of default controller arguments X-Git-Url: https://git.rapsys.eu/recipe/commitdiff_plain/7c59f4d8cefbc8faf061150072b1cf0fe1a35685?hp=5c9a6fa912be9c22c6d3c8c3344cde0f5bf06754 Add manual wire of default controller arguments --- diff --git a/rapsys/airbundle/master/config/packages/rapsys_air.yaml b/rapsys/airbundle/master/config/packages/rapsys_air.yaml index 71af62c..4b08aaa 100644 --- a/rapsys/airbundle/master/config/packages/rapsys_air.yaml +++ b/rapsys/airbundle/master/config/packages/rapsys_air.yaml @@ -8,5 +8,8 @@ services: rapsys_air.twig.bb2html: class: Rapsys\AirBundle\Twig\Bb2htmlExtension tags: [ twig.extension ] + Rapsys\AirBundle\Controller\DefaultController: + arguments: [ '@service_container', '@translator' ] + tags: [ controller.service_arguments ] Rapsys\AirBundle\DataFixtures\AirFixtures: tags: [ doctrine.fixture.orm ]