X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ddd5b4cf19a92582fd114914be5bd5a04d3522a7..c5f33db61e8ac24e578ae431f95a2566255fbf27:/app/models/node.rb diff --git a/app/models/node.rb b/app/models/node.rb index 69ce5d682..08a675b43 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -9,6 +9,7 @@ class Node < GeoRecord validate :validate_position has_many :old_nodes, :foreign_key => :id + has_many :way_nodes belongs_to :user def validate_position