X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0a459023d313ee16f8901da92058c0c2a4b8b9e9..5f8ab9e9244550b20b8d3bd97b3567df7020d06d:/app/models/old_way.rb diff --git a/app/models/old_way.rb b/app/models/old_way.rb index 136e64793..edf66aac3 100644 --- a/app/models/old_way.rb +++ b/app/models/old_way.rb @@ -110,5 +110,20 @@ class OldWay < 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 ways + def way_nodes + return self.old_nodes + end + + # Pretend we're not in any relations + def containing_relation_members + return [] + end end