X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bcbf417796c9da00397237d6e3808859d5d3adca..d9e070e06956801aba2378c1b79b4d9f13ae12ee:/app/models/old_relation.rb diff --git a/app/models/old_relation.rb b/app/models/old_relation.rb index 03d5aebff..f5885f39f 100644 --- a/app/models/old_relation.rb +++ b/app/models/old_relation.rb @@ -109,5 +109,20 @@ class OldRelation < ActiveRecord::Base el1 << e end return el1 - end + end + + # Temporary method to match interface to nodes + def tags_as_hash + return self.tags + end + + # Temporary method to match interface to relations + def relation_members + return self.old_members + end + + # Pretend we're not in any relations + def containing_relation_members + return [] + end end