]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way.rb
Improve the layout of the object browser views.
[rails.git] / app / models / old_way.rb
index a2b165e42716f5cfa7f095aa76654616274f95b5..1abb23bbbac13292b4f5f6949781b5cd4b55ff8f 100644 (file)
@@ -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