36 lines
1.0 KiB
YAML

chill_event_admin_role:
path: /
controller: Chill\EventBundle\Controller\RoleController::indexAction
options:
menus:
admin_events:
order: 110
label: "Event roles"
chill_event_admin_role_show:
path: /{id}/show
controller: Chill\EventBundle\Controller\RoleController::showAction
chill_event_admin_role_new:
path: /new
controller: Chill\EventBundle\Controller\RoleController::newAction
chill_event_admin_role_create:
path: /create
controller: Chill\EventBundle\Controller\RoleController::createAction
methods: POST
chill_event_admin_role_edit:
path: /{id}/edit
controller: Chill\EventBundle\Controller\RoleController::editAction
chill_event_admin_role_update:
path: /{id}/update
controller: Chill\EventBundle\Controller\RoleController::updateAction
methods: [POST, PUT]
chill_event_admin_role_delete:
path: /{id}/delete
controller: Chill\EventBundle\Controller\RoleController::deleteAction
methods: [POST, DELETE]