Some minor refactoring.

This commit is contained in:
James Cole
2016-10-08 10:02:33 +02:00
parent d43936155c
commit 24f62b8fce
7 changed files with 170 additions and 143 deletions

View File

@@ -123,7 +123,7 @@ class HomeController extends Controller
{
$types = config('firefly.accountTypesByIdentifier.asset');
$count = $repository->countAccounts($types);
$count = $crud->count($types);
if ($count == 0) {
return redirect(route('new-user.index'));