]> Raphaël G. Git Repositories - treebundle/commitdiff
Add rapsystree parameter tree
authorRaphaël Gertz <git@rapsys.eu>
Sun, 13 Oct 2024 02:08:00 +0000 (04:08 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 13 Oct 2024 02:08:00 +0000 (04:08 +0200)
Update tree controller constructor arguments

Resources/config/packages/rapsystree.yaml

index 88c2aea4d5f70f1f8472fb44655e6b25099d32ac..4639e7b14bd645bcf3d2a39a5cf1502915f416db 100644 (file)
@@ -1,11 +1,11 @@
 # Parameters configuration
-parameters:
+rapsystree:
 
 # Services configuration
 services:
     # Register tree controller
     Rapsys\TreeBundle\Controller\TreeController:
-        arguments: [ '@service_container', '@twig' ]
+        arguments: [ '@service_container', '@router', '@request_stack', '@translator', '@twig' ]
         tags: [ 'controller.service_arguments' ]
 
 # Twig Configuration