From: Tom Hughes Date: Fri, 22 Jun 2007 15:34:24 +0000 (+0000) Subject: Fill in the visible flag correctly when updating the history for a way. X-Git-Tag: live~8372 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/bb4b682d0b88cfeb207566e328b4eab1a8bda6a3 Fill in the visible flag correctly when updating the history for a way. --- diff --git a/app/models/old_way.rb b/app/models/old_way.rb index 062604253..d89b29621 100644 --- a/app/models/old_way.rb +++ b/app/models/old_way.rb @@ -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