X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/363155a2a86796d27ee9161f1ee9b74d6fa307e5..5bb23f6f5f8fed81f1166a15344e44afa7fbb480:/app/views/api/relations/relations_for_way.xml.builder diff --git a/app/views/api/relations/relations_for_way.xml.builder b/app/views/api/relations/relations_for_way.xml.builder index a753e8ea8..f39a20bb9 100644 --- a/app/views/api/relations/relations_for_way.xml.builder +++ b/app/views/api/relations/relations_for_way.xml.builder @@ -1,5 +1,5 @@ xml.instruct! xml.osm(OSM::API.new.xml_root_attributes) do |osm| - osm << (render(:partial => "api/map/relation", :collection => @relations) || "") + osm << (render(@relations) || "") end