mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-25 10:20:29 -06:00
Add some cases for #3973
This commit is contained in:
parent
f07c1f7164
commit
2f885d65cc
@ -77,6 +77,8 @@ class GracefulNotFoundHandler extends ExceptionHandler
|
||||
return $this->handleGroup($request, $exception);
|
||||
case 'attachments.show':
|
||||
case 'attachments.edit':
|
||||
case 'attachments.download':
|
||||
case 'attachments.view':
|
||||
// redirect to original attachment holder.
|
||||
return $this->handleAttachment($request, $exception);
|
||||
break;
|
||||
@ -117,12 +119,10 @@ class GracefulNotFoundHandler extends ExceptionHandler
|
||||
$request->session()->reflash();
|
||||
|
||||
return redirect(route('categories.index'));
|
||||
break;
|
||||
case 'rules.edit':
|
||||
$request->session()->reflash();
|
||||
|
||||
return redirect(route('rules.index'));
|
||||
break;
|
||||
case 'transactions.edit':
|
||||
case 'transactions.mass.edit':
|
||||
case 'transactions.mass.delete':
|
||||
|
Loading…
Reference in New Issue
Block a user