diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-02-09 13:43:12 +0300 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-02-13 20:04:51 +0300 |
commit | be231d21650cc5698a283bf8da58dc433a395fbf (patch) | |
tree | 3cabce5347f8ed6b82fcb53d597282e5375b32c1 /app/views/users | |
parent | f338ff43c13a6dd5c3bf90bd58c0d5cff52fc79c (diff) |
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/users')
-rw-r--r-- | app/views/users/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 90aa1be30ac..c9a77d668a2 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -35,8 +35,8 @@ .profile-header .avatar-holder - = link_to avatar_icon(@user, 400), target: '_blank', rel: 'noopener noreferrer' do - = image_tag avatar_icon(@user, 90), class: "avatar s90", alt: '' + = link_to avatar_icon_for_user(@user, 400), target: '_blank', rel: 'noopener noreferrer' do + = image_tag avatar_icon_for_user(@user, 90), class: "avatar s90", alt: '' .user-info .cover-title |