Commit b3b1e0af authored by Julien Fastré's avatar Julien Fastré

rename entry in person menu

parent e0e7376c
......@@ -58,8 +58,7 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface
if ($this->authorizationChecker->isGranted(TaskVoter::SHOW, $person)) {
$menu->addChild(
$this->translator->trans(
$menuId === 'person' ? 'Associated tasks' : 'Tasks'), [
$this->translator->trans('Tasks'), [
'route' => 'chill_task_singletask_list',
'routeParameters' => $menuId === 'person' ?
[ 'person_id' => $person->getId() ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment