X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/363155a2a86796d27ee9161f1ee9b74d6fa307e5..27159ebf6de4e1f6109d9a6ea31b32d6a9728b9b:/app/views/api/relations/full.xml.builder?ds=inline diff --git a/app/views/api/relations/full.xml.builder b/app/views/api/relations/full.xml.builder index e7e6c92bc..e23061727 100644 --- a/app/views/api/relations/full.xml.builder +++ b/app/views/api/relations/full.xml.builder @@ -1,7 +1,7 @@ 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(:partial => "api/map/relation", :collection => @relations) || "") + osm << (render(@nodes) || "") + osm << (render(@ways) || "") + osm << (render(@relations) || "") end