summaryrefslogtreecommitdiff
path: root/app/Template/listing
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-26 21:38:43 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-26 21:38:43 -0400
commit9ebbe3da56914c408327997cea4eb00db2f88e0c (patch)
tree92a40db64f958abff457add4aa643fc6154a05d3 /app/Template/listing
parent33dea152fc6b0c061b1f61060cc75710dd0ec236 (diff)
Rename task controllers
Diffstat (limited to 'app/Template/listing')
-rw-r--r--app/Template/listing/show.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/listing/show.php b/app/Template/listing/show.php
index a5cba1c4..1c92de4c 100644
--- a/app/Template/listing/show.php
+++ b/app/Template/listing/show.php
@@ -18,7 +18,7 @@
<?php foreach ($paginator->getCollection() as $task): ?>
<tr>
<td class="task-table color-<?= $task['color_id'] ?>">
- <?php if ($this->user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?>
+ <?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?>
<?= $this->render('task/dropdown', array('task' => $task)) ?>
<?php else: ?>
#<?= $task['id'] ?>