X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/63e9c4771a02ecf69a692df3a6df3d236b0c214b..d2cf09f389b2b92aa2bc55f375573173a2bcf1a4:/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?