]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/map_bug.rb
Add a browse page for bugs
[rails.git] / app / models / map_bug.rb
index 18e6ab2707efbf72e68984a8fe950c6cc4fa5f96..74b6b31919732ace19ac31286a5ea3f90002a411 100644 (file)
@@ -49,4 +49,8 @@ class MapBug < ActiveRecord::Base
 
   end
 
+  def visible
+       return status != "hidden"
+  end
+
 end