X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/26fb51c86e178a1c5bbe313c4688c623646173f8..bc309badb8c3afea20c17ff9ef44861d4f7bcf13:/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