From bb406d57b1c1ad2736774be18b2f7b4d31abcf63 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 20 Apr 2018 16:05:50 -0700 Subject: Update Parsedown library --- app/Core/Markdown.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'app/Core') diff --git a/app/Core/Markdown.php b/app/Core/Markdown.php index 4487bf2a..b8fe618f 100644 --- a/app/Core/Markdown.php +++ b/app/Core/Markdown.php @@ -91,7 +91,7 @@ class Markdown extends Parsedown $user = $this->container['userCacheDecorator']->getByUsername($username); if (! empty($user)) { - $url = $this->container['helper']->url->href('UserViewController', 'profile', array('user_id' => $user['id'])); + $url = $this->container['helper']->url->to('UserViewController', 'profile', array('user_id' => $user['id'])); return array( 'extent' => strlen($username) + 1, @@ -124,14 +124,13 @@ class Markdown extends Parsedown $token = $this->container['memoryCache']->proxy($this->container['taskFinderModel'], 'getProjectToken', $task_id); if (! empty($token)) { - return $this->container['helper']->url->href( + return $this->container['helper']->url->to( 'TaskViewController', 'readonly', array( 'token' => $token, 'task_id' => $task_id, ), - false, '', true ); @@ -140,7 +139,7 @@ class Markdown extends Parsedown return ''; } - return $this->container['helper']->url->href( + return $this->container['helper']->url->to( 'TaskViewController', 'show', array('task_id' => $task_id) -- cgit v1.2.3