chill-bundles/config/routes/eventtype.yaml

36 lines
1.1 KiB
YAML

chill_eventtype_admin:
path: /
controller: Chill\EventBundle\Controller\EventTypeController::indexAction
options:
menus:
admin_events:
order: 90
label: "Event types"
chill_eventtype_admin_show:
path: /{id}/show
controller: Chill\EventBundle\Controller\EventTypeController::showAction
chill_eventtype_admin_new:
path: /new
controller: Chill\EventBundle\Controller\EventTypeController::newAction
chill_eventtype_admin_create:
path: /create
controller: Chill\EventBundle\Controller\EventTypeController::createAction
methods: POST
chill_eventtype_admin_edit:
path: /{id}/edit
controller: Chill\EventBundle\Controller\EventTypeController::editAction
chill_eventtype_admin_update:
path: /{id}/update
controller: Chill\EventBundle\Controller\EventTypeController::updateAction
methods: [POST, PUT]
chill_eventtype_admin_delete:
path: /{id}/delete
controller: Chill\EventBundle\Controller\EventTypeController::deleteAction
methods: [POST, DELETE]