how to add extra breadcrumbs work

i visit all website and documentation and also youtube i search about how to add extra breadcrumbs in resource i find some method like getBreadcrumbs() function but when defind it in new page i don't no how to add the like to previous page please help to make the day good thanks
Solution:
public function getBreadcrumbs(): array { // dd(request()); // dd(request()->getRequestUri()); // dd(rtrim(dirname(request()->getRequestUri()), '/'));...
Jump to solution
1 Reply
Solution
Ahmed Ali
Ahmed Ali10mo ago
public function getBreadcrumbs(): array { // dd(request()); // dd(request()->getRequestUri()); // dd(rtrim(dirname(request()->getRequestUri()), '/')); return [ rtrim(dirname(rtrim(dirname(request()->getRequestUri()), '/')), '/')=> 'البرامج', rtrim(dirname(request()->getRequestUri()), '/') => 'عرض', request()->getRequestUri() => 'نمودج البرنامج', ]; } this solved problem anyway
Want results from more Discord servers?
Add your server