The to_xml_node method for a way wants a list of node IDs, not a list
of nodes...
This commit is contained in:
parent
028f94fcca
commit
24ac6b49f7
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class SearchController < ApplicationController
|
|||
end
|
||||
|
||||
ways.each do |way|
|
||||
doc.root << way.to_xml_node(nodes, user_display_name_cache)
|
||||
doc.root << way.to_xml_node(nodes.collect { |n| n.id }, user_display_name_cache)
|
||||
end
|
||||
|
||||
relations.each do |rel|
|
||||
|
|
Loading…
Add table
Reference in a new issue