summaryrefslogtreecommitdiff
path: root/app/Template/project
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
parent8d12e2fe736a72d6ad69807ac853a7e325c8cbf3 (diff)
Split Gantt controller
Diffstat (limited to 'app/Template/project')
-rw-r--r--app/Template/project/dropdown.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/project/dropdown.php b/app/Template/project/dropdown.php
index c803384a..90dccf21 100644
--- a/app/Template/project/dropdown.php
+++ b/app/Template/project/dropdown.php
@@ -13,10 +13,10 @@
<i class="fa fa-list fa-fw"></i>
<?= $this->url->link(t('Listing'), 'TaskListController', 'show', array('project_id' => $project['id'])) ?>
</li>
- <?php if ($this->user->hasProjectAccess('Gantt', 'project', $project['id'])): ?>
+ <?php if ($this->user->hasProjectAccess('TaskGanttController', 'show', $project['id'])): ?>
<li>
<i class="fa fa-sliders fa-fw"></i>
- <?= $this->url->link(t('Gantt'), 'gantt', 'project', array('project_id' => $project['id'])) ?>
+ <?= $this->url->link(t('Gantt'), 'TaskGanttController', 'show', array('project_id' => $project['id'])) ?>
</li>
<?php endif ?>