Hello i am new to laravel but i can't discover why i can't acess to my default path
My route:
Route::get('/', 'HomeController@home');
My controller:
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function home()
{
return view('home.home');
}
}
My route list
I have try with diferent middlewares and also i have change this api.route i have delete this:
//Route::middleware('auth:api')->get('/user', function (Request $request) {
// return $request->user();
//});
Please help i am start going crazy.
Solved my same problem just with command:
php artisan route:clear
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With