mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
add service_container to menuComposer instead of router to avoid circular references
This commit is contained in:
@@ -6,7 +6,7 @@ services:
|
||||
class: CL\Chill\MainBundle\Routing\MenuComposer
|
||||
#must be set in function to avoid circular reference with chill.main.twig.chill_menu
|
||||
calls:
|
||||
- [setRoute, ["@router"]]
|
||||
- [setContainer, ["@service_container"]]
|
||||
|
||||
chill.main.twig.chill_menu:
|
||||
class: CL\Chill\MainBundle\Routing\MenuTwig
|
||||
|
Reference in New Issue
Block a user