X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0f91ad89663fbadca007b1c4dce03f9a76ad0e5f..e9f2e31a5d763fe2b9845bf55062417c2267e7da:/app/models/old_way.rb diff --git a/app/models/old_way.rb b/app/models/old_way.rb index bb267dffb..aa9c81d0a 100644 --- a/app/models/old_way.rb +++ b/app/models/old_way.rb @@ -99,7 +99,7 @@ class OldWay < ActiveRecord::Base self.old_nodes.each do |nd| # FIXME need to make sure they come back in the right order e = XML::Node.new 'nd' - e['id'] = nd.node_id.to_s + e['ref'] = nd.node_id.to_s el1 << e end