typo
This commit is contained in:
parent
8d472c079b
commit
ea14b6b472
1 changed files with 1 additions and 1 deletions
|
@ -18,6 +18,6 @@ class ApplicationController < ActionController::Base
|
||||||
def current_ability
|
def current_ability
|
||||||
@current_ability ||=
|
@current_ability ||=
|
||||||
current_client.try { |c| ClientAbility.new(c) } ||
|
current_client.try { |c| ClientAbility.new(c) } ||
|
||||||
ClientAbility.new(current_user)
|
UserAbility.new(current_user)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue