]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/ways/index.xml.builder
Fix new rubocop warnings
[rails.git] / app / views / api / ways / index.xml.builder
index 33818c68f5133e1cdf810b819f2e9a806f7b5a03..bcb89cdc6c4050e113e97845ca8a5676e45325d5 100644 (file)
@@ -1,5 +1,5 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << (render(:partial => "api/map/way", :collection => @ways) || "")
+  osm << (render(@ways) || "")
 end