Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove redundant return

  • Loading branch information...
commit c12fe5f6e82c9f0321825ba11eeec16e13f31b29 1 parent d92ca41
Tom Hughes authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  app/models/note.rb
2  app/models/note.rb
@@ -49,7 +49,7 @@ def flatten_comment(separator_char, upto_timestamp = :nil)
49 49
50 50 # Check if a note is visible
51 51 def visible?
52   - return status != "hidden"
  52 + status != "hidden"
53 53 end
54 54
55 55 # Return the author object, derived from the first comment

0 comments on commit c12fe5f

Please sign in to comment.
Something went wrong with that request. Please try again.