]> source.dussan.org Git - redmine.git/commitdiff
Fixed: Atom feeds don't provide author section for repository revisions (#1348).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jun 2008 18:16:56 +0000 (18:16 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jun 2008 18:16:56 +0000 (18:16 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1485 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/common/feed.atom.rxml

index b5cbeeed9c743d72c02924524df86efbce66dc1e..ac087d36b989ec5a760eab3ba175c4e9eea06ebf 100644 (file)
@@ -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?