]> git.openstreetmap.org Git - rails.git/commitdiff
spit out whether the changeset is open in the xml
authorChristopher Schmidt <crschmidt@crschmidt.net>
Sun, 11 May 2008 22:26:11 +0000 (22:26 +0000)
committerChristopher Schmidt <crschmidt@crschmidt.net>
Sun, 11 May 2008 22:26:11 +0000 (22:26 +0000)
app/models/changeset.rb

index 9b92c62ead7547a6b11def8998abf608e344b793..c9eeb0018371cf1b9107fabbf9c487c167f8a22b 100644 (file)
@@ -100,6 +100,7 @@ class Changeset < ActiveRecord::Base
     end
     
     el1['created_at'] = self.created_at.xmlschema
+    el1['open'] = self.open.to_s
 
     # FIXME FIXME FIXME: This does not include changes yet! There is 
     # currently no changeset_id column in the tables as far as I can tell,