redirect to user page after sign in
This commit is contained in:
parent
f9b6f17456
commit
1472884ccb
1 changed files with 4 additions and 0 deletions
|
@ -23,4 +23,8 @@ class ApplicationController < ActionController::Base
|
||||||
current_client.try { |c| ClientAbility.new(c) } ||
|
current_client.try { |c| ClientAbility.new(c) } ||
|
||||||
UserAbility.new(current_user)
|
UserAbility.new(current_user)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def after_sign_in_path_for(resource)
|
||||||
|
current_user
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue