diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-14 15:25:16 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-14 15:25:16 -0500 |
commit | 8e25c875f26b05e3138fb4d09d9f720456c09f76 (patch) | |
tree | 103921f8ba3734a7c524efd0ed0ab68d4f919a13 /app/Controller/Task.php | |
parent | fbb58e08d3dbe0ec39f5d71d6aaa64528293bc71 (diff) |
Add ProjecFile and TaskFile models
Diffstat (limited to 'app/Controller/Task.php')
-rw-r--r-- | app/Controller/Task.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 4db8f86e..98b7a041 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -66,8 +66,8 @@ class Task extends Base $this->response->html($this->helper->layout->task('task/show', array( 'project' => $this->project->getById($task['project_id']), - 'files' => $this->file->getAllDocuments($task['id']), - 'images' => $this->file->getAllImages($task['id']), + 'files' => $this->taskFile->getAllDocuments($task['id']), + 'images' => $this->taskFile->getAllImages($task['id']), 'comments' => $this->comment->getAll($task['id'], $this->userSession->getCommentSorting()), 'subtasks' => $subtasks, 'links' => $this->taskLink->getAllGroupedByLabel($task['id']), |