handle menu with new menuBuilder api

This commit is contained in:
2018-06-08 17:49:35 +02:00
parent 6e8982958e
commit b0ee67f8b5
4 changed files with 97 additions and 10 deletions

View File

@@ -1,11 +1,6 @@
chill_activity_activity_list:
path: /{_locale}/person/{person_id}/activity/
defaults: { _controller: "ChillActivityBundle:Activity:list" }
options:
menus:
person:
order: 201
label: Activity list
chill_activity_activity_show:
path: /{_locale}/person/{person_id}/activity/{id}/show
@@ -14,11 +9,6 @@ chill_activity_activity_show:
chill_activity_activity_new:
path: /{_locale}/person/{person_id}/activity/new
defaults: { _controller: "ChillActivityBundle:Activity:new" }
options:
menus:
person:
order: 200
label: Add a new activity
chill_activity_activity_create:
path: /{_locale}/person/{person_id}/activity/create