]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/map_bugs/_bug.xml.builder
Rename association between map_bugs and map_bug_comment to comments
[rails.git] / app / views / map_bugs / _bug.xml.builder
index a25a588a2460b2426455ea72883556fa7b99d5b2..32c98721e41d7d2d603eef89e9a517b10645fb17 100644 (file)
@@ -9,7 +9,7 @@ xml.bug("lon" => bug.lon, "lat" => bug.lat) do
   end
 
   xml.comments do
-    bug.map_bug_comment.each do |comment|
+    bug.comments.each do |comment|
       xml.comment do
         xml.date comment.date_created
         xml.uid comment.commenter_id unless comment.commenter_id.nil?