N
N
NubasLol2019-01-30 15:43:22
Laravel
NubasLol, 2019-01-30 15:43:22

Larvel how to pass model to route?

Route::get('/category/{category}', '[email protected]')->name('category.show');

How to pass model in blade template?
Tried like this
route('index.category.show', $category)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
holfza, 2019-01-30
@NubasLol

https://laravel.com/docs/5.7/redirects#redirecting...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question