diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-02-09 11:43:12 +0100 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-02-13 18:04:51 +0100 |
commit | be231d21650cc5698a283bf8da58dc433a395fbf (patch) | |
tree | 3cabce5347f8ed6b82fcb53d597282e5375b32c1 /app/views/admin/users/show.html.haml | |
parent | f338ff43c13a6dd5c3bf90bd58c0d5cff52fc79c (diff) | |
download | gitlab-ce-be231d21650cc5698a283bf8da58dc433a395fbf.tar.gz |
Use more specific #avatar_icon_for_user.
Whenever we already deal with a User object, let's use the more specific
method avatar_icon_for_user.
Diffstat (limited to 'app/views/admin/users/show.html.haml')
-rw-r--r-- | app/views/admin/users/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/users/show.html.haml b/app/views/admin/users/show.html.haml index 101667508a9..ec3be869797 100644 --- a/app/views/admin/users/show.html.haml +++ b/app/views/admin/users/show.html.haml @@ -10,7 +10,7 @@ = @user.name %ul.well-list %li - = image_tag avatar_icon(@user, 60), class: "avatar s60" + = image_tag avatar_icon_for_user(@user, 60), class: "avatar s60" %li %span.light Profile page: %strong |