X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bee38e63a3cf9083d5bf38e8bbfbac62f9a6a9d1..5b51a8d6247bd5ad76179e648aaccf8246c78f9d:/app/models/old_way.rb diff --git a/app/models/old_way.rb b/app/models/old_way.rb index a2b165e42..1abb23bbb 100644 --- a/app/models/old_way.rb +++ b/app/models/old_way.rb @@ -108,5 +108,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