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