From 028f94fccaeba4ce26b0f16dcc2bbf1a54baee13 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 20 Dec 2007 10:21:22 +0000 Subject: [PATCH] Pass the node list to to_xml_node when outputting a way so that it lists the nodes in the way properly. --- app/controllers/search_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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| -- 2.43.2