]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/map_bugs/rss.rss.builder
Rename association between map_bugs and map_bug_comment to comments
[rails.git] / app / views / map_bugs / rss.rss.builder
index f5b597dd7699a51ae52d45548f2f2a78b6cdec42..ced183a10b61a32367a6d8da6fbeae89a4cebc17 100644 (file)
@@ -35,13 +35,7 @@ xml.rss("version" => "2.0",
         description_text += comment.map_bug.flatten_comment("<br>", comment.date_created)
 
         xml.description description_text 
-
-        if comment.user.nil?
-          xml.author comment.commenter_name
-        else
-          xml.author comment.user.display_name
-        end
-               
+        xml.author comment.commenter_name
         xml.pubDate comment.date_created.to_s(:rfc822)
         xml.geo :lat, comment.map_bug.lat
         xml.geo :long, comment.map_bug.lon