From b4455a38023cc7be669a6e4efd971a51b826bc47 Mon Sep 17 00:00:00 2001 From: Sander Dorigo Date: Wed, 5 Mar 2025 12:18:14 +0100 Subject: [PATCH] Fix #9906 --- app/Exceptions/GracefulNotFoundHandler.php | 4 ++++ 1 file changed, 4 insertions(+) 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':