X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/363155a2a86796d27ee9161f1ee9b74d6fa307e5..cf3cf5216fa3697ad2e3c060fced6a7bbb16f4a4:/app/views/api/ways/show.xml.builder diff --git a/app/views/api/ways/show.xml.builder b/app/views/api/ways/show.xml.builder index 33818c68f..d520a0844 100644 --- a/app/views/api/ways/show.xml.builder +++ b/app/views/api/ways/show.xml.builder @@ -1,5 +1,5 @@ xml.instruct! xml.osm(OSM::API.new.xml_root_attributes) do |osm| - osm << (render(:partial => "api/map/way", :collection => @ways) || "") + osm << (render(@way) || "") end