X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/363155a2a86796d27ee9161f1ee9b74d6fa307e5..6852bc9c9255aca49da991d295c2b8c5555a3db9:/app/views/api/relations/show.xml.builder?ds=sidebyside diff --git a/app/views/api/relations/show.xml.builder b/app/views/api/relations/show.xml.builder index a753e8ea8..555eb4db5 100644 --- a/app/views/api/relations/show.xml.builder +++ b/app/views/api/relations/show.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(@relation) || "") end