Reputation: 135
i'm new to laravel, still learning, and i have 2 routes with controllers and function index
this is my routes.php
Route::get('/', 'HomeController@index');
Route::get('accessories', 'ProductsController@index');
the first one works well but i don't know why the second doesn't:
Not Found
The requested URL /laravel/public/accessories was not found on this server.
thanks.
Upvotes: 1
Views: 715