Julien Fastré 8db8c8925c add a link into section menu
Currently, the main link in section menu redirect
to a search which display the last events

ref #10
2016-03-24 15:19:23 +01:00

41 lines
1.0 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" }
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]