mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 09:26:29 -06:00
Small fix for budget bread crumbs.
This commit is contained in:
parent
4e79b43395
commit
a4dd4358b4
@ -72,13 +72,13 @@ Breadcrumbs::register(
|
||||
|
||||
Breadcrumbs::register(
|
||||
'budgets.edit', function (Generator $breadcrumbs, Budget $budget) {
|
||||
$breadcrumbs->parent('budgets.index');
|
||||
$breadcrumbs->parent('budgets.show', $budget);
|
||||
$breadcrumbs->push('Edit '.$budget->name, route('budgets.edit',$budget->id));
|
||||
}
|
||||
);
|
||||
Breadcrumbs::register(
|
||||
'budgets.delete', function (Generator $breadcrumbs, Budget $budget) {
|
||||
$breadcrumbs->parent('budgets.index');
|
||||
$breadcrumbs->parent('budgets.show', $budget);
|
||||
$breadcrumbs->push('Delete '.$budget->name, route('budgets.delete',$budget->id));
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user