From 9e218032c485b7ab6ef8e00f45890151988b0f90 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 14:29:07 -0400 Subject: Split Gantt controller --- app/Template/project_header/views.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/Template/project_header') diff --git a/app/Template/project_header/views.php b/app/Template/project_header/views.php index 53ca6fd8..3a41c91b 100644 --- a/app/Template/project_header/views.php +++ b/app/Template/project_header/views.php @@ -15,10 +15,10 @@ url->link(t('List'), 'TaskListController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-listing', t('Keyboard shortcut: "%s"', 'v l')) ?> - user->hasProjectAccess('gantt', 'project', $project['id'])): ?> -
  • app->checkMenuSelection('Gantt') ?>> + user->hasProjectAccess('TaskGanttController', 'show', $project['id'])): ?> +
  • app->checkMenuSelection('TaskGanttController') ?>> - url->link(t('Gantt'), 'gantt', 'project', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-gantt', t('Keyboard shortcut: "%s"', 'v g')) ?> + url->link(t('Gantt'), 'TaskGanttController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-gantt', t('Keyboard shortcut: "%s"', 'v g')) ?>
  • -- cgit v1.2.3