X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/363155a2a86796d27ee9161f1ee9b74d6fa307e5..d23763d6cdbf5ec11f0e83f8e6e8fb32ed973e6a:/app/views/api/old_ways/version.xml.builder diff --git a/app/views/api/old_ways/version.xml.builder b/app/views/api/old_ways/version.xml.builder index c04d74577..c7b630d3a 100644 --- a/app/views/api/old_ways/version.xml.builder +++ b/app/views/api/old_ways/version.xml.builder @@ -1,5 +1,5 @@ xml.instruct! xml.osm(OSM::API.new.xml_root_attributes) do |osm| - osm << (render(:partial => "old_way", :collection => @elems) || "") + osm << (render(@old_element) || "") end