X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/56db9ca2b7e2475cd8025630049fb4a4b824f2d9..6279d83260cd9a03395a73f1c3df66ffe4c9486d:/app/models/note.rb diff --git a/app/models/note.rb b/app/models/note.rb index 14806be26..801e1f3cb 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -49,7 +49,7 @@ class Note < ActiveRecord::Base # Check if a note is visible def visible? - return status != "hidden" + status != "hidden" end # Return the author object, derived from the first comment