diff options
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 c2e66245..dc83f7b1 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -288,10 +288,10 @@ class Task extends Base } if ($redirect === 'board') { - $this->response->redirect($this->helper->url('board', 'show', array('project_id' => $task['project_id']))); + $this->response->redirect($this->helper->url->to('board', 'show', array('project_id' => $task['project_id']))); } - $this->response->redirect($this->helper->url('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']))); + $this->response->redirect($this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']))); } if ($this->request->isAjax()) { |