X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/322d782c9c961b1b1fc6dd89d38391c3e26ec2b4..cd66a5db99fda4920ed559ec71163d5d01ba1f4a:/app/models/old_way_node.rb?ds=sidebyside 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