X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d92ca41cae337d705625ea94dae9efb7de2f59e6..c12fe5f6e82c9f0321825ba11eeec16e13f31b29:/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