From: Raphaƫl Gertz Date: Thu, 7 Nov 2019 03:48:06 +0000 (+0100) Subject: Pass container and translator to default controller constructor X-Git-Url: https://git.rapsys.eu/recipe/commitdiff_plain/6eb4e9e2469290d1c3b77cde71179620a1bc39f2?ds=sidebyside Pass container and translator to default controller constructor --- diff --git a/rapsys/userbundle/master/config/packages/rapsys_user.yaml b/rapsys/userbundle/master/config/packages/rapsys_user.yaml index 8fa244e..c9de937 100644 --- a/rapsys/userbundle/master/config/packages/rapsys_user.yaml +++ b/rapsys/userbundle/master/config/packages/rapsys_user.yaml @@ -1,5 +1,6 @@ services: Rapsys\UserBundle\Controller\DefaultController: + arguments: [ '@service_container', '@translator' ] tags: [ controller.service_arguments ] Rapsys\UserBundle\Utils\Slugger: arguments: [ "@service_container" ]