X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0a459023d313ee16f8901da92058c0c2a4b8b9e9..5f8ab9e9244550b20b8d3bd97b3567df7020d06d:/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