Hello. It is necessary to make routes:
sitename.ru/articles //получаем все артиклы sitename.ru/articles/slugArticle //переход на артикл из ./articles sitename.ru/articles/slugCategory //выводим артиклы данной категории sitename.ru/articles/slugCategory/slugArticle //переход по артиклу данной категории I can not understand how to register it in the routs, I do the type:
Route::get('/recipes','RecipesController@index'); Route::get('/recipes/{slugRecipe}','RecipesController@showRecipe'); Route::get('/recipes/{slugTag}', 'TagsController@showTag'); Route::get('/recipes/{slugTag}/{slugRecipe}', 'RecipesController@showTest'); Naturally Lara swears at me for such curves routes ... Tap your finger on how to properly implement.
Route::get('/recipes/tag/{slugTag}', 'TagsController@showTag');Route::get('/recipes/{slugRecipe}/tag/{slugTag}', 'RecipesController@showTest')- Orange_shadow