From c12fe5f6e82c9f0321825ba11eeec16e13f31b29 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 5 Feb 2013 17:42:08 +0000 Subject: [PATCH] Remove redundant return --- app/models/note.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5