mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-25 08:21:08 -06:00
Fix category bread crumb
This commit is contained in:
parent
f494ba7065
commit
229d033e1a
@ -447,7 +447,7 @@ try {
|
||||
Breadcrumbs::register(
|
||||
'categories.edit',
|
||||
function (BreadcrumbsGenerator $breadcrumbs, Category $category) {
|
||||
$breadcrumbs->parent('categories.show', $category, '(nothing)', new Carbon, new Carbon);
|
||||
$breadcrumbs->parent('categories.show-all', $category, '', new Carbon, new Carbon);
|
||||
$breadcrumbs->push(trans('firefly.edit_category', ['name' => limitStringLength($category->name)]), route('categories.edit', [$category->id]));
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user