Fix Style/EmptyCaseCondition rubocop issue

This commit is contained in:
Bertocq
2017-09-25 22:52:38 +02:00
parent 91fcea03b1
commit 43758ba830
2 changed files with 2 additions and 9 deletions

View File

@@ -55,10 +55,9 @@ module Verification
end
def user_type
case
when level_three_verified?
if level_three_verified?
:level_3_user
when level_two_verified?
elsif level_two_verified?
:level_2_user
else
:level_1_user