]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_node.rb
Don't user flash[:notice] when we're not redirecting as it will
[rails.git] / app / models / old_node.rb
index 7bafca0531a631767bc673617c005c770d345205..76eab8427b2c570cce79846887706eb6c10923b6 100644 (file)
@@ -58,4 +58,14 @@ class OldNode < ActiveRecord::Base
     end
     hash
   end
+
+  # Pretend we're not in any ways
+  def ways
+    return []
+  end
+
+  # Pretend we're not in any relations
+  def containing_relation_members
+    return []
+  end
 end