Alexandr Chernyaev

Results 128 comments of Alexandr Chernyaev

Hello, can you give more information on how to reproduce this behavior?

It looks like livewire doesn't run the middleware on this route, as it goes the other way. Most likely this can be fixed by adding middleware to the web group...

Try using breadcrumbs off-route and at the service provider: ```php Breadcrumbs::for('photo.index', fn (Trail $trail) => $trail->parent('home')->push('Photos', route('photo.index')) ); ```

Hey @sametsahin. I am assuming you have your route declared as follows: ```php Route::get('/admin/client/detail/{client}', function (Client $client) { //code... })->name('admin.client.detail'); ``` Pay attention to the names that we expect (https://github.com/tabuna/breadcrumbs/issues/10#issuecomment-732791991)...

No problem buddy. Just use the same names. Like this: Route: ```php Route::get('edit/client/{client}', [ClientController::class, 'edit'])->name('edit.client'); ``` Breadcrumbs: ```php Breadcrumbs::for('edit.client', fn(Trail $trail, Client $client) => $trail ->parent('admin.home.client') ->push($client->id . ' Edit...

Change: ```php public function edit($client_id){... ``` on: ```php public function edit(Client $client_id){... ``` You are either working with an object. Or with a value. You cannot expect an object in...

Suppose the controller cannot find your model. Why should bread crumbs do this? It will help if you read https://laravel.com/docs/8.x/routing#parameters-and-dependency-injection as well as https://laravel.com/docs/8.x/routing#route-model-binding From the documentation: > Since the...

Hey, @fbc, I have not been able to reproduce the problem. My route opens perfectly: `project.bill.index`. Is there any other data that could influence? I used laravel 8 and package...

Hey @misha1. Your mistake is not the same as that of the topic author. Your route has a required id parameter that you forgot to pass to the breadcrumb. ```php...

Hey @amberlampsio, can you give more information? What version of laravel and breadcrubms are you using?