X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..cfd2c5dddab88372905a23f7b9680df58feb9b53:/app/views/api/ways/show.xml.builder diff --git a/app/views/api/ways/show.xml.builder b/app/views/api/ways/show.xml.builder index d520a0844..72b22e737 100644 --- a/app/views/api/ways/show.xml.builder +++ b/app/views/api/ways/show.xml.builder @@ -1,5 +1,6 @@ xml.instruct! xml.osm(OSM::API.new.xml_root_attributes) do |osm| + osm << (render(@nodes) || "") if @nodes osm << (render(@way) || "") end