Fix tests
This commit is contained in:
parent
6deb9f966e
commit
6426819b6f
6 changed files with 18 additions and 6 deletions
|
@ -9,4 +9,10 @@ class ApplicationController < ActionController::Base
|
|||
Rack::MiniProfiler.authorize_request
|
||||
end
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def current_account
|
||||
current_user.try(:account)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue