]> Raphaël G. Git Repositories - recipe/commitdiff
Fix package configuration
authorRaphaël Gertz <git@rapsys.eu>
Thu, 14 Nov 2019 22:19:52 +0000 (23:19 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 14 Nov 2019 22:19:52 +0000 (23:19 +0100)
rapsys/userbundle/master/config/packages/rapsys_user.yaml

index c9de9378061bd36c2e740249cb549ff25d0ee98d..cc7322d530b46dc696de3c5d03193bb501879ab0 100644 (file)
@@ -1,6 +1,10 @@
+#Service configuration
 services:
+    #Register default controller
     Rapsys\UserBundle\Controller\DefaultController:
         arguments: [ '@service_container', '@translator' ]
-        tags: [ controller.service_arguments ]
+        autowire: true
+        tags: [ 'controller.service_arguments' ]
+    #Register slugger utils service
     Rapsys\UserBundle\Utils\Slugger:
-        arguments: [ "@service_container" ]
+        arguments: [ '@service_container' ]