mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Improve test coverage.
This commit is contained in:
@@ -52,6 +52,9 @@ class GracefulNotFoundHandler extends ExceptionHandler
|
||||
public function render($request, Exception $exception)
|
||||
{
|
||||
$route = $request->route();
|
||||
if(null === $route) {
|
||||
return parent::render($request, $exception);
|
||||
}
|
||||
$name = $route->getName();
|
||||
if (!auth()->check()) {
|
||||
return parent::render($request, $exception);
|
||||
|
Reference in New Issue
Block a user