X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d9e070e06956801aba2378c1b79b4d9f13ae12ee..d0f228879741a8d35ae7d9e98d3fe3c9e227a1fa:/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