From: Tom Hughes Date: Sun, 8 May 2011 17:01:59 +0000 (+0100) Subject: Use the right author name for bugs in RSS format X-Git-Tag: live~5068^2~161 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ae844f3260d65feaf4f827c0ede20905b1cfd036?ds=sidebyside Use the right author name for bugs in RSS format --- 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