From 81a25cbe6328eab7c4de0befc64186610ecc7f49 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 27 Apr 2016 20:45:45 -0400 Subject: Fixed wrong URL on comment toggle link for sorting --- app/Controller/Comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller') diff --git a/app/Controller/Comment.php b/app/Controller/Comment.php index ff7ec305..0b39f390 100644 --- a/app/Controller/Comment.php +++ b/app/Controller/Comment.php @@ -173,6 +173,6 @@ class Comment extends Base $order = $this->userSession->getCommentSorting() === 'ASC' ? 'DESC' : 'ASC'; $this->userSession->setCommentSorting($order); - $this->response->redirect($this->helper->url->href('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'comments')); + $this->response->redirect($this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), 'comments')); } } -- cgit v1.2.3