Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-02-09 13:43:12 +0300
committerAndreas Brandl <abrandl@gitlab.com>2018-02-13 20:04:51 +0300
commitbe231d21650cc5698a283bf8da58dc433a395fbf (patch)
tree3cabce5347f8ed6b82fcb53d597282e5375b32c1 /app/views/discussions
parentf338ff43c13a6dd5c3bf90bd58c0d5cff52fc79c (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/discussions')
-rw-r--r--app/views/discussions/_discussion.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/discussions/_discussion.html.haml b/app/views/discussions/_discussion.html.haml
index 205320ed87c..8b9fa3d6b05 100644
--- a/app/views/discussions/_discussion.html.haml
+++ b/app/views/discussions/_discussion.html.haml
@@ -3,7 +3,7 @@
.timeline-entry-inner
.timeline-icon
= link_to user_path(discussion.author) do
- = image_tag avatar_icon(discussion.author), class: "avatar s40"
+ = image_tag avatar_icon_for_user(discussion.author), class: "avatar s40"
.timeline-content
.discussion.js-toggle-container{ data: { discussion_id: discussion.id } }
.discussion-header