X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4424cd5b947432848fe7f5bc7518fd1b718ecf6c..013ef53c97a1d2c8319f1ac624e8325a06828366:/app/models/old_way.rb diff --git a/app/models/old_way.rb b/app/models/old_way.rb index cdc0c4717..136e64793 100644 --- a/app/models/old_way.rb +++ b/app/models/old_way.rb @@ -95,6 +95,7 @@ class OldWay < ActiveRecord::Base el1['visible'] = self.visible.to_s el1['timestamp'] = self.timestamp.xmlschema el1['user'] = self.user.display_name if self.user.data_public? + el1['version'] = self.version.to_s self.old_nodes.each do |nd| # FIXME need to make sure they come back in the right order e = XML::Node.new 'nd'