Greetings, I'm working on laravel 5.3 and none of my routes work, the only one that works is the root path '/'
, I do not understand why.
web.php
<?php
Route::get('/',function(){
return view("certificado.index");
});
/*Route::get("certificado",function(){
dd("Saludos");
});*/
Route::resource("certificado",'CertificadoGarantiaController');
When I enter the path http://localhost/baterias/public/certificado
the only thing that shows me is the error:
NotFoundHttpException in RouteCollection.php line 161
And so with any other route that I believe.
I already try things like
php artisan cache: clear
php artisan config: cache
composer dump-autoload
composer update
And nothing is still coming out the same error.
Edit route: list
Error
Path '/'
Index of CertificateGarantiaController
public function index()
{
dd("hola");
}