Small fix for budget bread crumbs.

This commit is contained in:
James Cole 2014-11-28 15:53:50 +01:00
parent 4e79b43395
commit a4dd4358b4

View File

@ -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));
}
);