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