From 6eb4e9e2469290d1c3b77cde71179620a1bc39f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 7 Nov 2019 04:48:06 +0100 Subject: [PATCH 1/1] Pass container and translator to default controller constructor --- rapsys/userbundle/master/config/packages/rapsys_user.yaml | 1 + 1 file changed, 1 insertion(+) 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" ] -- 2.41.1