Registered route in web.php
Route::get('/posts/{cat}','IndexController@index'); If you just specify '/ posts' in the url, meaning that $ cat is empty, the error page returns that the page was not found. What could be the problem?
Registered route in web.php
Route::get('/posts/{cat}','IndexController@index'); If you just specify '/ posts' in the url, meaning that $ cat is empty, the error page returns that the page was not found. What could be the problem?
Source: https://ru.stackoverflow.com/questions/931900/
All Articles