Marc Ducobu 6776e785b2 Merge
2016-03-24 15:24:14 +01:00

48 lines
1.2 KiB
YAML

event:
path: /
defaults: { _controller: "ChillEventBundle:Event:index" }
chill_event_list_most_recent:
path: most_recent
defaults: { _controller: "ChillEventBundle:Event:mostRecentIndex" }
options:
menus:
section:
order: 90
label: Events
icons: [calendar]
event_show:
path: /{event_id}/show
defaults: { _controller: "ChillEventBundle:Event:show" }
event_new:
path: /new
defaults: { _controller: "ChillEventBundle:Event:new" }
options:
menus:
section:
order: 11
label: Add an event
icons: [plus, calendar-o]
event_create:
path: /create
defaults: { _controller: "ChillEventBundle:Event:create" }
methods: POST
event_edit:
path: /{id}/edit
defaults: { _controller: "ChillEventBundle:Event:edit" }
event_update:
path: /{id}/update
defaults: { _controller: "ChillEventBundle:Event:update" }
methods: [POST, PUT]
event_delete:
path: /{id}/delete
defaults: { _controller: "ChillEventBundle:Event:delete" }
methods: [POST, DELETE]