]> Raphaël G. Git Repositories - recipe/commitdiff
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 71af62cdd726289f40f64f4c2e206efad5726fd5..4b08aaac38d646d81913325f30437a2299177a08 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 ]