Fix all Style/RedundantReturn rubocop issues
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user