From 4061927d215c846ff8eb196301bf61532018042b Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 12 Oct 2014 15:32:35 -0400 Subject: Move some Task model methods to the TaskFinder class --- app/Controller/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/Task.php') diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 4c15d8df..1b20cf15 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -26,7 +26,7 @@ class Task extends Base $this->forbidden(true); } - $task = $this->task->getDetails($this->request->getIntegerParam('task_id')); + $task = $this->taskFinder->getDetails($this->request->getIntegerParam('task_id')); if (! $task) { $this->notfound(true); -- cgit v1.2.3