add item 'events participation' in person menu

This commit is contained in:
2019-01-16 16:19:40 +01:00
parent d18f3dd3dd
commit d89e440784
6 changed files with 93 additions and 0 deletions

View File

@@ -35,3 +35,7 @@ chill_event__event_update:
path: /{event_id}/update
defaults: { _controller: "ChillEventBundle:Event:update" }
methods: [POST, PUT]
chill_event__list_by_person:
path: /{person_id}/list
defaults: { _controller: "ChillEventBundle:Event:listByPerson" }

View File

@@ -0,0 +1,8 @@
services:
Chill\EventBundle\Menu\PersonMenuBuilder:
arguments:
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
$translator: '@Symfony\Component\Translation\TranslatorInterface'
tags:
- { name: 'chill.menu_builder' }