mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
No need for break
This commit is contained in:
parent
060c08c011
commit
eae0cc17a4
@ -81,23 +81,19 @@ class GracefulNotFoundHandler extends ExceptionHandler
|
||||
case 'attachments.view':
|
||||
// redirect to original attachment holder.
|
||||
return $this->handleAttachment($request, $e);
|
||||
break;
|
||||
case 'bills.show':
|
||||
$request->session()->reflash();
|
||||
|
||||
return redirect(route('bills.index'));
|
||||
break;
|
||||
case 'currencies.show':
|
||||
$request->session()->reflash();
|
||||
|
||||
return redirect(route('currencies.index'));
|
||||
break;
|
||||
case 'budgets.show':
|
||||
case 'budgets.edit':
|
||||
$request->session()->reflash();
|
||||
|
||||
return redirect(route('budgets.index'));
|
||||
break;
|
||||
case 'piggy-banks.show':
|
||||
$request->session()->reflash();
|
||||
|
||||
|
@ -178,7 +178,6 @@ class CreateAutoBudgetLimits implements ShouldQueue
|
||||
$value = $this->date->format($format);
|
||||
|
||||
return in_array($value, ['01-01', '07-01'], true);
|
||||
break;
|
||||
case 'yearly':
|
||||
$format = 'm-d';
|
||||
$value = $this->date->format($format);
|
||||
|
Loading…
Reference in New Issue
Block a user