From: Tom Hughes Date: Tue, 5 Feb 2013 17:42:08 +0000 (+0000) Subject: Remove redundant return X-Git-Tag: live~5104^2~26 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/c12fe5f6e82c9f0321825ba11eeec16e13f31b29?ds=sidebyside Remove redundant return --- 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