Improve user controllers and views

This commit is contained in:
Frederic Guillot
2016-05-16 20:55:21 -04:00
parent abdf6f9780
commit 4514bc1d4b
49 changed files with 219 additions and 210 deletions

View File

@@ -90,7 +90,7 @@ class Markdown extends Parsedown
$user_id = $this->container['user']->getIdByUsername($matches[1]);
if (! empty($user_id)) {
$url = $this->container['helper']->url->href('user', 'profile', array('user_id' => $user_id));
$url = $this->container['helper']->url->href('UserViewController', 'profile', array('user_id' => $user_id));
return array(
'extent' => strlen($matches[0]),