Rebuild stuff and add warning.

This commit is contained in:
James Cole
2022-01-02 07:22:04 +01:00
parent ffc71da2eb
commit 11176fc212
7 changed files with 638 additions and 650 deletions

View File

@@ -91,6 +91,7 @@ class GracefulNotFoundHandler extends ExceptionHandler
return redirect(route('currencies.index'));
case 'budgets.show':
case 'budgets.edit':
case 'budgets.show.limit':
$request->session()->reflash();
return redirect(route('budgets.index'));

View File

@@ -102,6 +102,9 @@ class HomeController extends Controller
*/
public function index(AccountRepositoryInterface $repository): mixed
{
if ('v3' === config('firefly.layout')) {
return view('pwa');
}
$types = config('firefly.accountTypesByIdentifier.asset');
$count = $repository->count($types);
Log::channel('audit')->info('User visits homepage.');