14 lines
509 B
PHP
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
|