Add manual wire of default controller arguments
authorRaphaël Gertz <git@rapsys.eu>
Thu, 7 Nov 2019 03:09:50 +0000 (04:09 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 7 Nov 2019 03:09:50 +0000 (04:09 +0100)
rapsys/airbundle/master/config/packages/rapsys_air.yaml

index 71af62c..4b08aaa 100644 (file)
@@ -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 ]