]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way.rb
Merge changes from trunk 7673:8632.
[rails.git] / app / models / old_way.rb
index 136e647938122d69a83ed5669521dbe4e64f54ec..edf66aac324922d26ea8090ba88062954e40df15 100644 (file)
@@ -110,5 +110,20 @@ class OldWay < ActiveRecord::Base
       el1 << e
     end
     return el1
       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
 end