X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d07277efba0c0069705bbefa68f2624a9c6c9ff0..4434bac3b484006d579b9229a5f69b182644eae7:/app/controllers/way_controller.rb diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index f9fd70af4..8daac7cc2 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -90,7 +90,7 @@ class WayController < ApplicationController ids = params['ways'].split(',').collect {|w| w.to_i } if ids.length > 0 waylist = Way.find(ids) - doc = get_xml_doc + doc = OSM::API.new.get_xml_doc waylist.each do |way| doc.root << way.to_xml_node end