add a link into section menu

Currently, the main link in section menu redirect
to a search which display the last events

ref #10
This commit is contained in:
2016-03-24 15:19:23 +01:00
parent 372cae7008
commit 8db8c8925c
5 changed files with 34 additions and 2 deletions

View File

@@ -1,6 +1,16 @@
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