diff --git a/app/Exceptions/GracefulNotFoundHandler.php b/app/Exceptions/GracefulNotFoundHandler.php index 0bd3c9408b..d12ecfc506 100644 --- a/app/Exceptions/GracefulNotFoundHandler.php +++ b/app/Exceptions/GracefulNotFoundHandler.php @@ -127,6 +127,10 @@ class GracefulNotFoundHandler extends ExceptionHandler case 'rules.edit': $request->session()->reflash(); + return redirect(route('rules.index')); + case 'rule-groups.edit': + $request->session()->reflash(); + return redirect(route('rules.index')); case 'transactions.mass.edit':