summaryrefslogtreecommitdiff
path: root/app/views/issues
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-02-09 12:24:48 +0100
committerAndreas Brandl <abrandl@gitlab.com>2018-02-13 18:04:51 +0100
commit9adafff0b22d7c9593ca470cd08298d45b9cb732 (patch)
tree60389bc82ec7b2960315d6020899fd15338c790e /app/views/issues
parenta5e271b6843a3c1b2e59a5b470dfef6d0120d38c (diff)
downloadgitlab-ce-9adafff0b22d7c9593ca470cd08298d45b9cb732.tar.gz
Retrieve issue author's avatar by user, not user#email.
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/_issue.atom.builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_issue.atom.builder b/app/views/issues/_issue.atom.builder
index 0c113c08526..21cf6d0dd65 100644
--- a/app/views/issues/_issue.atom.builder
+++ b/app/views/issues/_issue.atom.builder
@@ -3,7 +3,7 @@ xml.entry do
xml.link href: project_issue_url(issue.project, issue)
xml.title truncate(issue.title, length: 80)
xml.updated issue.updated_at.xmlschema
- xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon(issue.author_email))
+ xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon_for_user(issue.author))
xml.author do
xml.name issue.author_name