Avoid unnecessary arrays
[rails.git] / app / views / api / ways / show.xml.builder
index bcb89cd..d520a08 100644 (file)
@@ -1,5 +1,5 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << (render(@ways) || "")
+  osm << (render(@way) || "")
 end