From: Tom Hughes Date: Thu, 20 Dec 2007 10:21:22 +0000 (+0000) Subject: Pass the node list to to_xml_node when outputting a way so that it X-Git-Tag: live~8028 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/028f94fccaeba4ce26b0f16dcc2bbf1a54baee13 Pass the node list to to_xml_node when outputting a way so that it lists the nodes in the way properly. --- diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 90ec8fd6a..42989f05a 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -110,7 +110,7 @@ class SearchController < ApplicationController end ways.each do |way| - doc.root << way.to_xml_node(user_display_name_cache) + doc.root << way.to_xml_node(nodes, user_display_name_cache) end relations.each do |rel|