TomH's way history patch
authorRichard Fairhurst <richard@systemed.net>
Fri, 8 Jun 2007 10:40:26 +0000 (10:40 +0000)
committerRichard Fairhurst <richard@systemed.net>
Fri, 8 Jun 2007 10:40:26 +0000 (10:40 +0000)
app/controllers/old_way_controller.rb

index 451ddf4..a253e3e 100644 (file)
@@ -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