mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Keyrelays index
This commit is contained in:
parent
f8ef86dcd5
commit
71df97f553
8 changed files with 58 additions and 4 deletions
|
@ -10,7 +10,7 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
|
||||
def after_sign_in_path_for(_resource)
|
||||
return session[:user_return_to].to_s if session[:user_return_to]
|
||||
return session[:user_return_to].to_s if session[:user_return_to] && session[:user_return_to] != login_path
|
||||
admin_root_path
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue