X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d07277efba0c0069705bbefa68f2624a9c6c9ff0..01cfcbd845c5d8d33f83bb22a24cf35932da2e29:/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