0
0
Fork 0

Fix tests

This commit is contained in:
Eugen Rochko 2016-08-18 17:13:41 +02:00
parent 6deb9f966e
commit 6426819b6f
6 changed files with 18 additions and 6 deletions

View file

@ -9,4 +9,10 @@ class ApplicationController < ActionController::Base
Rack::MiniProfiler.authorize_request
end
end
protected
def current_account
current_user.try(:account)
end
end