mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
Insert "my tasks" link in user menu
This commit is contained in:
@@ -283,6 +283,21 @@ class SingleTaskController extends Controller
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Response
|
||||
* @Route(
|
||||
* "/{_locale}/task/single-task/list/my",
|
||||
* options={ "menus": { "user": { "order": -10, "label": "My tasks", "icon": "tasks" } } }
|
||||
* )
|
||||
*/
|
||||
public function myTasksAction()
|
||||
{
|
||||
return $this->redirectToRoute('chill_task_singletask_list', [
|
||||
'user_id' => $this->getUser()->getId()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route(
|
||||
|
Reference in New Issue
Block a user