]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_node.rb
api06: Return version ids in XML responses.
[rails.git] / app / models / old_node.rb
index 2f960d8866a3239066a14f1198ddac08a06646ff..247a699236c46bc76a9dc0e804051a1877709042 100644 (file)
@@ -47,6 +47,7 @@ class OldNode < GeoRecord
 
     el1['visible'] = self.visible.to_s
     el1['timestamp'] = self.timestamp.xmlschema
+    el1['version'] = self.version.to_s
     return el1
   end