I'm using Laravel 5.3 and in the course I'm doing it asks for the routes to put the following line:
Route::get('/produtos', 'ProdutoController@lista');
But putting it like this is an error:
NotFoundHttpException in RouteCollection.php line 161:
To work I have to put:
Route::get('/', 'ProdutoController@lista');
But when putting another page to detail the products does not work more when putting for example:
Route::get('/mostra', 'ProdutoController@mostra');