diff options
Diffstat (limited to 'app/Controller/Task.php')
-rw-r--r-- | app/Controller/Task.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 9bd6e711..3c5b5c39 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -92,14 +92,15 @@ class Task extends Base public function activites() { $task = $this->getTask(); - $this->response->html($this->taskLayout('task/events', array( + + $this->response->html($this->taskLayout('task/activity', array( 'title' => $task['title'], 'task' => $task, 'ajax' => $this->request->isAjax(), - 'events' => $this->projectActivity->getTasks([$task['id']]), + 'events' => $this->projectActivity->getTask($task['id']), ))); } - + /** * Display a form to create a new task * |