mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-15 17:59:43 +00:00
add item 'events participation' in person menu
This commit is contained in:
@@ -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" }
|
||||
|
8
Resources/config/services/menu.yml
Normal file
8
Resources/config/services/menu.yml
Normal 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' }
|
Reference in New Issue
Block a user