mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 00:53:48 +00:00
adapta list of tasks for a person
This commit is contained in:
@@ -76,9 +76,9 @@ class MenuBuilder implements LocalMenuBuilderInterface
|
||||
if ($this->authorizationChecker->isGranted(TaskVoter::SHOW, $person)) {
|
||||
$menu->addChild(
|
||||
$this->translator->trans('Tasks'), [
|
||||
'route' => 'chill_task_singletask_list',
|
||||
'route' => 'chill_task_singletask_by-person_list',
|
||||
'routeParameters' =>
|
||||
[ 'person_id' => $person->getId() ]
|
||||
[ 'id' => $person->getId() ]
|
||||
])
|
||||
->setExtra('order', 400);
|
||||
}
|
||||
|
Reference in New Issue
Block a user