chill-bundles/config/routes.yaml

43 lines
1.2 KiB
YAML

chill_event_event:
resource: "@ChillEventBundle/config/routes/event.yaml"
prefix: /{_locale}/event/event
chill_event_participation:
resource: "@ChillEventBundle/config/routes/participation.yaml"
prefix: /{_locale}/event/participation
## ADMIN
chill_event_admin:
path: /{_locale}/admin/event
controller: Chill\EventBundle\Controller\AdminController::indexAction
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_status:
resource: "@ChillEventBundle/config/routes/status.yaml"
prefix: /{_locale}/admin/event/status
chill_event_admin_role:
resource: "@ChillEventBundle/config/routes/role.yaml"
prefix: /{_locale}/admin/event/role
chill_event_admin_event_type:
resource: "@ChillEventBundle/config/routes/eventtype.yaml"
prefix: /{_locale}/admin/event/event_type