This commit is contained in:
benji 2015-09-11 17:26:52 +02:00
commit 54d9085170

View file

@ -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