mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Some minor refactoring.
This commit is contained in:
@@ -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'));
|
||||
|
Reference in New Issue
Block a user