]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation.rb
api06: Merge changesets code from Frederik.
[rails.git] / app / models / relation.rb
index 3a9c0d9d5ff4b881b895b9c2492167814ee7a690..ec8c92c927a6239a4c0cb4320915dec1ba286887 100644 (file)
@@ -58,6 +58,7 @@ class Relation < ActiveRecord::Base
     el1['id'] = self.id.to_s
     el1['visible'] = self.visible.to_s
     el1['timestamp'] = self.timestamp.xmlschema
+    el1['version'] = self.version.to_s
 
     user_display_name_cache = {} if user_display_name_cache.nil?