mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
Fix Rubocop warnings
This commit is contained in:
parent
02aad0d781
commit
a651ac8cab
13 changed files with 26 additions and 20 deletions
|
@ -1,8 +1,7 @@
|
|||
class Registrant::SessionsController < Devise::SessionsController
|
||||
layout 'registrant/application'
|
||||
|
||||
def new
|
||||
end
|
||||
def new; end
|
||||
|
||||
def id
|
||||
id_code, id_issuer = request.env['SSL_CLIENT_S_DN'], request.env['SSL_CLIENT_I_DN_O']
|
||||
|
@ -99,11 +98,11 @@ class Registrant::SessionsController < Devise::SessionsController
|
|||
|
||||
private
|
||||
|
||||
def after_sign_in_path_for(resource_or_scope)
|
||||
def after_sign_in_path_for(_resource_or_scope)
|
||||
registrant_root_path
|
||||
end
|
||||
|
||||
def after_sign_out_path_for(resource_or_scope)
|
||||
def after_sign_out_path_for(_resource_or_scope)
|
||||
new_registrant_user_session_path
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue