X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bcbf417796c9da00397237d6e3808859d5d3adca..64a5e21f53be132cd5fe3265230c6cdc00ccabaa:/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