summaryrefslogtreecommitdiff
path: root/app/Template/project/dropdown.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project/dropdown.php')
-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 90dccf21..e3cf41c2 100644
--- a/app/Template/project/dropdown.php
+++ b/app/Template/project/dropdown.php
@@ -25,10 +25,10 @@
<?= $this->url->link(t('Activity'), 'ActivityController', 'project', array('project_id' => $project['id'])) ?>
</li>
- <?php if ($this->user->hasProjectAccess('AnalyticController', 'tasks', $project['id'])): ?>
+ <?php if ($this->user->hasProjectAccess('AnalyticController', 'taskDistribution', $project['id'])): ?>
<li>
<i class="fa fa-line-chart fa-fw"></i>&nbsp;
- <?= $this->url->link(t('Analytics'), 'AnalyticController', 'tasks', array('project_id' => $project['id'])) ?>
+ <?= $this->url->link(t('Analytics'), 'AnalyticController', 'taskDistribution', array('project_id' => $project['id'])) ?>
</li>
<?php endif ?>