49 lines
1.5 KiB
YAML

chill_event_list_most_recent:
path: most_recent
controller: Chill\EventBundle\Controller\EventController::mostRecentIndexAction
options:
menus:
section:
order: 90
label: Events
icons: [calendar]
chill_event__event_show:
path: /{event_id}/show
controller: Chill\EventBundle\Controller\EventController::showAction
chill_event__event_new_pickcenter:
path: /new/pick-center
controller: Chill\EventBundle\Controller\EventController::newPickCenterAction
options:
menus:
section:
order: 11
label: Add an event
icons: [plus, calendar-o]
chill_event__event_new:
path: /new
controller: Chill\EventBundle\Controller\EventController::newAction
methods: [ GET, POST ]
chill_event__event_edit:
path: /{event_id}/edit
controller: Chill\EventBundle\Controller\EventController::editAction
chill_event__event_update:
path: /{event_id}/update
controller: Chill\EventBundle\Controller\EventController::updateAction
methods: [POST, PUT]
chill_event__list_by_person:
path: /{person_id}/list
controller: Chill\EventBundle\Controller\EventController::listByPersonAction
methods: [ GET ]
chill_event__event_delete:
path: /{event_id}/delete
requirements:
event_id: \d+
controller: Chill\EventBundle\Controller\EventController::deleteAction
methods: [ GET, DELETE ]