X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/363155a2a86796d27ee9161f1ee9b74d6fa307e5..c56f7a37fc056d921fdbd8b3eec49a9d84f092c9:/app/views/api/ways/full.xml.builder?ds=sidebyside diff --git a/app/views/api/ways/full.xml.builder b/app/views/api/ways/full.xml.builder index 93ca2c087..025291638 100644 --- a/app/views/api/ways/full.xml.builder +++ b/app/views/api/ways/full.xml.builder @@ -1,6 +1,6 @@ xml.instruct! xml.osm(OSM::API.new.xml_root_attributes) do |osm| - osm << (render(:partial => "api/map/node", :collection => @nodes) || "") - osm << (render(:partial => "api/map/way", :collection => @ways) || "") + osm << (render(@nodes) || "") + osm << (render(@way) || "") end