ldc-cocotte/resources/views/fo/modules/breadcrumb/breadcrumb-body.blade.php
2026-10-27 09:58:12 +01:00

14 lines
509 B
PHP

@hasSection('breadcrumb')
@if (Breadcrumbs::exists(app()->view->getSections()['breadcrumb']))
<div class="my-3">
{{ call_user_func_array(
'Breadcrumbs::render',
array_merge([app()->view->getSections()['breadcrumb']], !empty($brParam) ? (is_array($brParam) ? $brParam : [$brParam]) : []),
) }}
</div>
@endif
@elseif(Breadcrumbs::exists(request()->route()->getName()))
<div class="my-3">
{{ Breadcrumbs::render(request()->route()->getName()) }}
</div>
@endif