Fix all Style/RedundantReturn rubocop issues

This commit is contained in:
Bertocq
2017-07-04 22:52:09 +02:00
parent 29b58298db
commit 97d7a21791
3 changed files with 3 additions and 13 deletions

View File

@@ -25,9 +25,9 @@ class Verification::Management::Document
def valid_age?(response)
if under_age?(response)
errors.add(:age, true)
return false
false
else
return true
true
end
end