X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b383517d2bd41b0d15c9c018561eeac402675ba5..b61e4f77e86fd2535a88b0d3e5aec97809c8ec5e:/app/models/old_way.rb?ds=sidebyside diff --git a/app/models/old_way.rb b/app/models/old_way.rb index 3bcdac889..e4df25816 100644 --- a/app/models/old_way.rb +++ b/app/models/old_way.rb @@ -38,7 +38,7 @@ class OldWay < ActiveRecord::Base tag.save! end - i = 0 + i = 1 self.segs.each do |n| seg = OldWaySegment.new seg.id = self.id