]> git.openstreetmap.org Git - rails.git/commitdiff
Remove redundant return
authorTom Hughes <tom@compton.nu>
Tue, 5 Feb 2013 17:42:08 +0000 (17:42 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 5 Feb 2013 17:42:08 +0000 (17:42 +0000)
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