X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0f91ad89663fbadca007b1c4dce03f9a76ad0e5f..8d2f6da628318826c709824d59521335934afcc7:/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