]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_node_controller.rb
move login form to new way of doing forms
[rails.git] / app / controllers / old_node_controller.rb
index 99e0b5675497a09224044bedfd6433c4b4200f26..2c0cca9bbbddc86ad573c5893575da0bd702d234 100644 (file)
@@ -9,7 +9,7 @@ class OldNodeController < ApplicationController
       return
     end
 
-    doc = get_xml_doc
+    doc = OSM::API.new.get_xml_doc
 
     node.old_nodes.each do |old_node|
       doc.root << old_node.to_xml_node