From ae844f3260d65feaf4f827c0ede20905b1cfd036 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 8 May 2011 18:01:59 +0100 Subject: [PATCH] Use the right author name for bugs in RSS format --- app/views/map_bugs/_bug.rss.builder | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/views/map_bugs/_bug.rss.builder b/app/views/map_bugs/_bug.rss.builder index e928c3cac..e9f1420c1 100644 --- a/app/views/map_bugs/_bug.rss.builder +++ b/app/views/map_bugs/_bug.rss.builder @@ -10,11 +10,7 @@ xml.item do xml.link url_for(:controller => "browse", :action => "bug", :id => bug.id, :only_path => false) xml.guid url_for(:controller => "map_bugs", :action => "read", :id => bug.id, :only_path => false) xml.description htmlize(bug.flatten_comment("

")) - - unless bug.comments.empty? - xml.author bug.comments[-1].author_name - end - + xml.author bug.author_name xml.pubDate bug.updated_at.to_s(:rfc822) xml.geo :lat, bug.lat xml.geo :long, bug.lon -- 2.43.2