summaryrefslogtreecommitdiff
path: root/app/User
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-26 17:25:54 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-26 17:25:54 -0400
commit4ca716ec47863f3eef6c851de7a4f37650f8ea6e (patch)
treeaf7ca983e3cec6300c1689bd76eb99e37fc2f799 /app/User
parent820c929ab38273c80d0930e2e6140dd7676ba4df (diff)
Move avatar actions to controller AvatarFile
Diffstat (limited to 'app/User')
-rw-r--r--app/User/Avatar/AvatarFileProvider.php2
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 . '">';
}