diff options
Diffstat (limited to 'app/Template/project_list/show.php')
-rw-r--r-- | app/Template/project_list/show.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/project_list/show.php b/app/Template/project_list/show.php index 75b5495f..8b9f1396 100644 --- a/app/Template/project_list/show.php +++ b/app/Template/project_list/show.php @@ -4,8 +4,8 @@ <?php if ($this->user->hasAccess('ProjectUserOverviewController', 'managers')): ?> <li><i class="fa fa-user fa-fw"></i><?= $this->url->link(t('Users overview'), 'ProjectUserOverviewController', 'managers') ?></li> <?php endif ?> - <?php if ($this->user->hasAccess('gantt', 'projects')): ?> - <li><i class="fa fa-sliders fa-fw"></i><?= $this->url->link(t('Projects Gantt chart'), 'gantt', 'projects') ?></li> + <?php if ($this->user->hasAccess('ProjectGanttController', 'show')): ?> + <li><i class="fa fa-sliders fa-fw"></i><?= $this->url->link(t('Projects Gantt chart'), 'ProjectGanttController', 'show') ?></li> <?php endif ?> </ul> </div> |