]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/note.rb
Remove redundant return
[rails.git] / app / models / note.rb
index 14806be266dfd1114e62ad324a97708aafc8e65b..801e1f3cbee16a2a9c74014321cdd6490ae41ac7 100644 (file)
@@ -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