summaryrefslogtreecommitdiff
path: root/app/Api/BaseApi.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-26 22:23:12 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-26 22:23:12 -0400
commit82b5b491bec94cb3d40a5820fbef9959435309be (patch)
tree9d53ecaec423630022b2bb1ce3f03867cff40f49 /app/Api/BaseApi.php
parent9ebbe3da56914c408327997cea4eb00db2f88e0c (diff)
Rename task view controller
Diffstat (limited to 'app/Api/BaseApi.php')
-rw-r--r--app/Api/BaseApi.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Api/BaseApi.php b/app/Api/BaseApi.php
index 37e11030..d8c46fd5 100644
--- a/app/Api/BaseApi.php
+++ b/app/Api/BaseApi.php
@@ -75,7 +75,7 @@ abstract class BaseApi extends Base
protected function formatTask($task)
{
if (! empty($task)) {
- $task['url'] = $this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), '', true);
+ $task['url'] = $this->helper->url->to('TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), '', true);
$task['color'] = $this->color->getColorProperties($task['color_id']);
}