mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
translation and redirection
This commit is contained in:
@@ -318,11 +318,12 @@ class SingleTaskController extends Controller
|
||||
* options={ "menus": { "user": { "order": -10, "label": "My tasks", "icon": "tasks" } } }
|
||||
* )
|
||||
*/
|
||||
public function myTasksAction()
|
||||
public function myTasksAction(TranslatorInterface $translator)
|
||||
{
|
||||
return $this->redirectToRoute('chill_task_singletask_list', [
|
||||
'user_id' => $this->getUser()->getId(),
|
||||
'hide_form' => true
|
||||
'hide_form' => true,
|
||||
'title' => $translator->trans('My tasks')
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user