mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-12 09:02:06 -06:00
Breadcrumb shows the correct title.
This commit is contained in:
parent
f42cd0c7c3
commit
602b35d589
@ -42,8 +42,6 @@ use FireflyIII\Models\TransactionType;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
//use DaveJamesMiller\Breadcrumbs\Generator as BreadCrumbsGenerator;
|
||||
|
||||
// HOME
|
||||
Breadcrumbs::register(
|
||||
'home',
|
||||
@ -217,7 +215,7 @@ Breadcrumbs::register(
|
||||
'admin.links.show',
|
||||
function (BreadCrumbsGenerator $breadcrumbs, LinkType $linkType) {
|
||||
$breadcrumbs->parent('admin.links.index');
|
||||
$breadcrumbs->push(trans('firefly.overview_for_link', [$linkType->name]), route('admin.links.show', [$linkType->id]));
|
||||
$breadcrumbs->push(trans('firefly.overview_for_link', ['name' => $linkType->name]), route('admin.links.show', [$linkType->id]));
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user