summaryrefslogtreecommitdiff
path: root/app/Template/project_user_overview/layout.php
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_user_overview/layout.php
parent8d12e2fe736a72d6ad69807ac853a7e325c8cbf3 (diff)
Split Gantt controller
Diffstat (limited to 'app/Template/project_user_overview/layout.php')
-rw-r--r--app/Template/project_user_overview/layout.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/project_user_overview/layout.php b/app/Template/project_user_overview/layout.php
index ab4326f6..19b83436 100644
--- a/app/Template/project_user_overview/layout.php
+++ b/app/Template/project_user_overview/layout.php
@@ -5,10 +5,10 @@
<i class="fa fa-folder fa-fw"></i>
<?= $this->url->link(t('Projects list'), 'ProjectListController', 'show') ?>
</li>
- <?php if ($this->user->hasAccess('gantt', 'projects')): ?>
+ <?php if ($this->user->hasAccess('ProjectGanttController', 'show')): ?>
<li>
<i class="fa fa-sliders fa-fw"></i>
- <?= $this->url->link(t('Projects Gantt chart'), 'gantt', 'projects') ?>
+ <?= $this->url->link(t('Projects Gantt chart'), 'ProjectGanttController', 'show') ?>
</li>
<?php endif ?>
</ul>