X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/63e9c4771a02ecf69a692df3a6df3d236b0c214b..ff9fb4f9c2423aa9ddada69ea867031ac65d36fd:/app/views/map_bugs/_bug.xml.builder diff --git a/app/views/map_bugs/_bug.xml.builder b/app/views/map_bugs/_bug.xml.builder index a25a588a2..32c98721e 100644 --- a/app/views/map_bugs/_bug.xml.builder +++ b/app/views/map_bugs/_bug.xml.builder @@ -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?