diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-26 17:25:54 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-26 17:25:54 -0400 |
commit | 4ca716ec47863f3eef6c851de7a4f37650f8ea6e (patch) | |
tree | af7ca983e3cec6300c1689bd76eb99e37fc2f799 /app/User | |
parent | 820c929ab38273c80d0930e2e6140dd7676ba4df (diff) |
Move avatar actions to controller AvatarFile
Diffstat (limited to 'app/User')
-rw-r--r-- | app/User/Avatar/AvatarFileProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/User/Avatar/AvatarFileProvider.php b/app/User/Avatar/AvatarFileProvider.php index 87a42c07..eea565f0 100644 --- a/app/User/Avatar/AvatarFileProvider.php +++ b/app/User/Avatar/AvatarFileProvider.php @@ -23,7 +23,7 @@ class AvatarFileProvider extends Base implements AvatarProviderInterface */ public function render(array $user, $size) { - $url = $this->helper->url->href('AvatarFile', 'show', array('user_id' => $user['id'], 'size' => $size)); + $url = $this->helper->url->href('AvatarFile', 'image', array('user_id' => $user['id'], 'size' => $size)); $title = $this->helper->text->e($user['name'] ?: $user['username']); return '<img src="' . $url . '" alt="' . $title . '" title="' . $title . '">'; } |