X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a2495c843ebf205d620e852ed9ab76ef250411b9..6cb69b5e4be820b3f30d0f9eef9bbeb39fab5231:/app/views/map_bugs/rss.rss.builder
diff --git a/app/views/map_bugs/rss.rss.builder b/app/views/map_bugs/rss.rss.builder
index f5b597dd7..566a3b322 100644
--- a/app/views/map_bugs/rss.rss.builder
+++ b/app/views/map_bugs/rss.rss.builder
@@ -27,22 +27,16 @@ xml.rss("version" => "2.0",
if comment.event == "commented" and not comment.nil?
description_text += "Comment:
"
- description_text += htmlize(comment.comment)
+ description_text += htmlize(comment.body)
description_text += "
"
end
description_text += "Full bug report:
"
- description_text += comment.map_bug.flatten_comment("
", comment.date_created)
+ description_text += comment.map_bug.flatten_comment("
", comment.created_at)
xml.description description_text
-
- if comment.user.nil?
- xml.author comment.commenter_name
- else
- xml.author comment.user.display_name
- end
-
- xml.pubDate comment.date_created.to_s(:rfc822)
+ xml.author comment.author_name
+ xml.pubDate comment.created_at.to_s(:rfc822)
xml.geo :lat, comment.map_bug.lat
xml.geo :long, comment.map_bug.lon
xml.georss :point, "#{comment.map_bug.lat} #{comment.map_bug.lon}"