]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/search_controller.rb
Add experimental support (disabled by default) for new geocoder.
[rails.git] / app / controllers / search_controller.rb
index b411a70a29f417d4598b2314530f95695f9fa702..520aa5a6f8d1a1cbee5dc767df9660a5870f58dc 100644 (file)
@@ -124,7 +124,7 @@ class SearchController < ApplicationController
     end 
 
     relations.each do |rel|
-      doc.root << rel.to_xml_node(changeset_cache, user_display_name_cache)
+      doc.root << rel.to_xml_node(nil, changeset_cache, user_display_name_cache)
     end 
     render :text => doc.to_s, :content_type => "text/xml"
   end