summaryrefslogtreecommitdiff
path: root/app/Formatter/TaskCalendarFormatter.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/Formatter/TaskCalendarFormatter.php
parent9ebbe3da56914c408327997cea4eb00db2f88e0c (diff)
Rename task view controller
Diffstat (limited to 'app/Formatter/TaskCalendarFormatter.php')
-rw-r--r--app/Formatter/TaskCalendarFormatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Formatter/TaskCalendarFormatter.php b/app/Formatter/TaskCalendarFormatter.php
index ca0d5c05..d478d2bd 100644
--- a/app/Formatter/TaskCalendarFormatter.php
+++ b/app/Formatter/TaskCalendarFormatter.php
@@ -50,7 +50,7 @@ class TaskCalendarFormatter extends BaseTaskCalendarFormatter implements Formatt
'backgroundColor' => $this->color->getBackgroundColor($task['color_id']),
'borderColor' => $this->color->getBorderColor($task['color_id']),
'textColor' => 'black',
- 'url' => $this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])),
+ 'url' => $this->helper->url->to('TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])),
'start' => date($this->getDateTimeFormat(), $task[$this->startColumn]),
'end' => date($this->getDateTimeFormat(), $task[$this->endColumn] ?: time()),
'editable' => $this->fullDay,