This commit is contained in:
benji 2015-09-11 14:12:54 +02:00
parent 8d472c079b
commit ea14b6b472

View file

@ -18,6 +18,6 @@ class ApplicationController < ActionController::Base
def current_ability
@current_ability ||=
current_client.try { |c| ClientAbility.new(c) } ||
ClientAbility.new(current_user)
UserAbility.new(current_user)
end
end