mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-07 07:14:58 +00:00
[event] refactor admin for event bundle
This commit is contained in:
@@ -9,24 +9,24 @@ chill_event_participation:
|
||||
|
||||
## ADMIN
|
||||
|
||||
chill_event_admin:
|
||||
chill_event_admin_index:
|
||||
path: /{_locale}/admin/event
|
||||
controller: Chill\EventBundle\Controller\AdminController::indexAction
|
||||
options:
|
||||
menus:
|
||||
admin_section:
|
||||
order: 2100
|
||||
label: "Events"
|
||||
icons: ['calendar']
|
||||
controller: Chill\EventBundle\Controller\AdminController::indexAdminAction
|
||||
# options:
|
||||
# menus:
|
||||
# admin_section:
|
||||
# order: 2100
|
||||
# label: "Events"
|
||||
# icons: ['calendar']
|
||||
|
||||
chill_event_admin_redirect_to_admin_index:
|
||||
path: /{_locale}/admin/event_redirect_to_main
|
||||
controller: Chill\EventBundle\Controller\AdminController::redirectToAdminIndexAction
|
||||
options:
|
||||
menus:
|
||||
admin_events:
|
||||
order: 0
|
||||
label: Main admin menu
|
||||
# chill_event_admin_redirect_to_admin_index:
|
||||
# path: /{_locale}/admin/event_redirect_to_main
|
||||
# controller: Chill\EventBundle\Controller\AdminController::redirectToAdminIndexAction
|
||||
# options:
|
||||
# menus:
|
||||
# admin_events:
|
||||
# order: 0
|
||||
# label: Main admin menu
|
||||
|
||||
chill_event_admin_status:
|
||||
resource: "@ChillEventBundle/config/routes/status.yaml"
|
||||
@@ -39,4 +39,4 @@ chill_event_admin_role:
|
||||
chill_event_admin_event_type:
|
||||
resource: "@ChillEventBundle/config/routes/eventtype.yaml"
|
||||
prefix: /{_locale}/admin/event/event_type
|
||||
|
||||
|
||||
|
@@ -1,2 +1,11 @@
|
||||
services:
|
||||
Chill\EventBundle\Controller\:
|
||||
autowire: true
|
||||
resource: '../Controller'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Chill\EventBundle\Menu\:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
resource: '../Menu/'
|
||||
tags: ['chill.menu_builder']
|
Reference in New Issue
Block a user