breadcrumbs
breadcrumbs copied to clipboard
502 Bad Gateway
Hi when i used
i received 502 Bad Gateway, and no error registered in log files, how can i resolve this or how can i detect the error
thank you
Try using breadcrumbs off-route and at the service provider:
Breadcrumbs::for('photo.index', fn (Trail $trail) =>
$trail->parent('home')->push('Photos', route('photo.index'))
);
Breadcrumbs::for('home', function (Trail $trail) {
$trail->parent('home')->push('Photos', route('photo.index'));
});