Merge branch 'master' of https://github.com/ZeusWPI/Tab
This commit is contained in:
commit
54d9085170
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