Fix Rubocop warnings

This commit is contained in:
Artur Beljajev 2018-07-15 19:26:43 +03:00
parent 02aad0d781
commit a651ac8cab
13 changed files with 26 additions and 20 deletions

View file

@ -171,11 +171,11 @@ class Registrar
render text: t('registrar.authorization.ip_not_allowed', ip: request.ip)
end
def after_sign_in_path_for(resource_or_scope)
def after_sign_in_path_for(_resource_or_scope)
registrar_root_path
end
def after_sign_out_path_for(resource_or_scope)
def after_sign_out_path_for(_resource_or_scope)
new_registrar_user_session_path
end