X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d9e070e06956801aba2378c1b79b4d9f13ae12ee..8eead8a8707b478b342a6e4c13c4e8b4ef143b98:/app/models/old_way_node.rb diff --git a/app/models/old_way_node.rb b/app/models/old_way_node.rb index 7420b5cfc..6234b85c2 100644 --- a/app/models/old_way_node.rb +++ b/app/models/old_way_node.rb @@ -4,4 +4,7 @@ class OldWayNode < ActiveRecord::Base set_primary_keys :id, :version, :sequence_id belongs_to :way, :foreign_key=> :id + + # A bit messy, referring to current nodes, should do for the data browser for now + belongs_to :node end