X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c22958faed2e60b7277607fdee6f94976b9caf39..35bbf82c200eb39eab5e5555e2a440903250769a:/app/models/map_bug.rb diff --git a/app/models/map_bug.rb b/app/models/map_bug.rb index 18e6ab270..74b6b3191 100644 --- a/app/models/map_bug.rb +++ b/app/models/map_bug.rb @@ -49,4 +49,8 @@ class MapBug < ActiveRecord::Base end + def visible + return status != "hidden" + end + end