X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/da11ecacb95a2820c87c3dc6dd7db77a741fc655..363155a2a86796d27ee9161f1ee9b74d6fa307e5:/app/views/api/relations/full.xml.builder diff --git a/app/views/api/relations/full.xml.builder b/app/views/api/relations/full.xml.builder new file mode 100644 index 000000000..e7e6c92bc --- /dev/null +++ b/app/views/api/relations/full.xml.builder @@ -0,0 +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) || "") +end