From 870e8654b4dd6d36f816343f20d2fa603331efb6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 2 Jun 2008 18:16:56 +0000 Subject: [PATCH] Fixed: Atom feeds don't provide author section for repository revisions (#1348). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1485 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/common/feed.atom.rxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/common/feed.atom.rxml b/app/views/common/feed.atom.rxml index b5cbeeed9..ac087d36b 100644 --- a/app/views/common/feed.atom.rxml +++ b/app/views/common/feed.atom.rxml @@ -14,7 +14,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do xml.link "rel" => "alternate", "href" => url xml.id url xml.updated item.event_datetime.xmlschema - author = item.event_author if item.respond_to?(:author) + author = item.event_author if item.respond_to?(:event_author) xml.author do xml.name(author) xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank?