move spacename to CLChillMain to ChillMain

This commit is contained in:
2014-10-17 08:27:31 +02:00
parent f44abb26fe
commit d9aa417e3c
27 changed files with 61 additions and 121 deletions

View File

@@ -1,4 +1,4 @@
CL\Chill\MainBundle\Entity\Agent:
Chill\MainBundle\Entity\Agent:
type: entity
table: agents
id:

View File

@@ -1,4 +1,4 @@
CL\Chill\MainBundle\Entity\Country:
Chill\MainBundle\Entity\Country:
type: entity
table: null
fields:

View File

@@ -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'

View File

@@ -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: