Fill in the visible flag correctly when updating the history for a way.
authorTom Hughes <tom@compton.nu>
Fri, 22 Jun 2007 15:34:24 +0000 (15:34 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 22 Jun 2007 15:34:24 +0000 (15:34 +0000)
app/models/old_way.rb

index 06260425389c2c8db9ea84cc23c18000f609e962..d89b2962168de9abf414cf6a5586d5bfa5d23960 100644 (file)
@@ -5,6 +5,7 @@ class OldWay < ActiveRecord::Base
 
   def self.from_way(way)
     old_way = OldWay.new
+    old_way.visible = way.visible
     old_way.user_id = way.user_id
     old_way.timestamp = way.timestamp
     old_way.id = way.id