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 c9de937..cc7322d 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' ]