summaryrefslogtreecommitdiff
path: root/app/Template/project_list
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 14:29:07 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 14:29:07 -0400
commit9e218032c485b7ab6ef8e00f45890151988b0f90 (patch)
tree6eb1d18b2228c792620cc2b0233fa4e86c7182d7 /app/Template/project_list
parent8d12e2fe736a72d6ad69807ac853a7e325c8cbf3 (diff)
Split Gantt controller
Diffstat (limited to 'app/Template/project_list')
-rw-r--r--app/Template/project_list/show.php4
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>