mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
move spacename to CLChillMain to ChillMain
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
CL\Chill\MainBundle\Entity\Agent:
|
||||
Chill\MainBundle\Entity\Agent:
|
||||
type: entity
|
||||
table: agents
|
||||
id:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
CL\Chill\MainBundle\Entity\Country:
|
||||
Chill\MainBundle\Entity\Country:
|
||||
type: entity
|
||||
table: null
|
||||
fields:
|
||||
|
@@ -12,35 +12,13 @@ root:
|
||||
|
||||
cl_chill_main_homepage:
|
||||
pattern: /hello
|
||||
defaults: { _controller: CLChillMainBundle:Default:index }
|
||||
defaults: { _controller: ChillMainBundle:Default:index }
|
||||
|
||||
chill_main_admin_central:
|
||||
pattern: /admin
|
||||
defaults: { _controller: CLChillMainBundle:Admin:index }
|
||||
defaults: { _controller: ChillMainBundle:Admin:index }
|
||||
options:
|
||||
menus:
|
||||
main:
|
||||
order: 20
|
||||
label: homepage
|
||||
|
||||
|
||||
chill_main_dummy_0:
|
||||
pattern: /dummy
|
||||
defaults: { _controller: CLChillMainBundle:Default:index }
|
||||
options:
|
||||
menus:
|
||||
dummy0:
|
||||
order: 50
|
||||
label: 'test dummy 0'
|
||||
dummy1:
|
||||
order: 50
|
||||
label: test dummy 1
|
||||
|
||||
chill_main_dummy_1:
|
||||
pattern: /dummy1
|
||||
defaults: { _controller: CLChillMainBundle:Default:index }
|
||||
options:
|
||||
menus:
|
||||
dummy0:
|
||||
order: 51
|
||||
label: 'test dummy 1'
|
||||
|
@@ -1,15 +1,15 @@
|
||||
parameters:
|
||||
# cl_chill_main.example.class: CL\Chill\MainBundle\Example
|
||||
# cl_chill_main.example.class: Chill\MainBundle\Example
|
||||
|
||||
services:
|
||||
chill.main.menu_composer:
|
||||
class: CL\Chill\MainBundle\Routing\MenuComposer
|
||||
class: Chill\MainBundle\Routing\MenuComposer
|
||||
#must be set in function to avoid circular reference with chill.main.twig.chill_menu
|
||||
calls:
|
||||
- [setContainer, ["@service_container"]]
|
||||
|
||||
chill.main.twig.chill_menu:
|
||||
class: CL\Chill\MainBundle\Routing\MenuTwig
|
||||
class: Chill\MainBundle\Routing\MenuTwig
|
||||
arguments:
|
||||
- "@chill.main.menu_composer"
|
||||
calls:
|
||||
|
Reference in New Issue
Block a user