diff options
Diffstat (limited to 'app/Template/project/dropdown.php')
-rw-r--r-- | app/Template/project/dropdown.php | 4 |
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> - <?= $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 ?> |