X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c91b86a1d1271c2bc801ee9dfc3a30fb2758aa9b..24ee5618ce06105fc8dd7baf641af08d96365c41:/app/controllers/old_way_controller.rb diff --git a/app/controllers/old_way_controller.rb b/app/controllers/old_way_controller.rb index 451ddf4ea..a253e3e20 100644 --- a/app/controllers/old_way_controller.rb +++ b/app/controllers/old_way_controller.rb @@ -8,7 +8,7 @@ class OldWayController < ApplicationController return end - doc = get_xml_doc + doc = OSM::API.new.get_xml_doc way.old_ways.each do |old_way| doc.root << old_way.to_xml_node