]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/map_bugs/_bug.rss.builder
Rename some columns and indexes in the bug tables
[rails.git] / app / views / map_bugs / _bug.rss.builder
index abfbc56d441f9a26bb49fb212c6cd40cd3e03ffd..e928c3cacd66b086989dabcfd8a3bb4c2455bcd0 100644 (file)
@@ -12,10 +12,10 @@ xml.item do
   xml.description  htmlize(bug.flatten_comment("<br><br>"))
 
   unless bug.comments.empty?
-    xml.author bug.comments[-1].commenter_name
+    xml.author bug.comments[-1].author_name
   end
 
-  xml.pubDate bug.last_changed.to_s(:rfc822)
+  xml.pubDate bug.updated_at.to_s(:rfc822)
   xml.geo :lat, bug.lat
   xml.geo :long, bug.lon
   xml.georss :point, "#{bug.lat} #{bug.lon}"