]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/ways/show.xml.builder
Map 'full' to api way show action
[rails.git] / app / views / api / ways / show.xml.builder
index d520a08444376f96f25a5eb93099fb43e70bd526..72b22e7374c97a6b56e06a7228085e5ec95c29ff 100644 (file)
@@ -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