From d5ffcb81b6f9d0750fac75d1655dc8d77c07bc85 Mon Sep 17 00:00:00 2001 From: Andreas Brandl Date: Fri, 9 Feb 2018 12:36:35 +0100 Subject: Use avatar_icon_for_email for commits. We need to keep the email lookup as we want to fall back to displaying the gravatar result for a given email if the user does not exist. --- app/views/projects/commits/_commit.atom.builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/projects/commits/_commit.atom.builder') diff --git a/app/views/projects/commits/_commit.atom.builder b/app/views/projects/commits/_commit.atom.builder index 04914888763..50f7e7a3a33 100644 --- a/app/views/projects/commits/_commit.atom.builder +++ b/app/views/projects/commits/_commit.atom.builder @@ -3,7 +3,7 @@ xml.entry do xml.link href: project_commit_url(@project, id: commit.id) xml.title truncate(commit.title, length: 80, escape: false) xml.updated commit.committed_date.xmlschema - xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon(commit.author_email)) + xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon_for_email(commit.author_email)) xml.author do |author| xml.name commit.author_name -- cgit v1.2.1