Hi!
Last 2 days was awful :) I can't build routes with this baum. Can anyone help? I think that it will be useful not only for me. So, I have a catalog with products. Just now my route is:
Route::resource('catalog', 'CatalogController', ['except' => 'create']);
I want to build routes like catalog/{category}/{subcategory}/{subsub}. Of course I know, that it might be check if current category from request is root or have child. But I can't understand how and where. Every category has slug.
With hope...)
Hi! Last 2 days was awful :) I can't build routes with this baum. Can anyone help? I think that it will be useful not only for me. So, I have a catalog with products. Just now my route is:
Route::resource('catalog', 'CatalogController', ['except' => 'create']);
I want to build routes like catalog/{category}/{subcategory}/{subsub}. Of course I know, that it might be check if current category from request is root or have child. But I can't understand how and where. Every category has slug. With hope...)