Rubocop autocorrections (indentations, revers unless to if, extra spaces)
This commit is contained in:
@@ -15,7 +15,7 @@ class Users::SessionsController < Devise::SessionsController
|
||||
end
|
||||
|
||||
def verifying_via_email?
|
||||
return false unless resource.present?
|
||||
return false if resource.blank?
|
||||
stored_path = session[stored_location_key_for(resource)] || ""
|
||||
stored_path[0..5] == "/email"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user