Level 75
Mar 22, 2022
2
Level 1
Target class [App\Http\Controllers\Auth\AuthController] does not exist.
Hi I am kinda new on laravel and I am trying to create a login with fortify.
The command line
php artisan route:list returns me the error
Target class [App\Http\Controllers\Auth\AuthController] does not exist.
I did update the RouteServiceProvider to add the namespace varibale but that does not fixs it
I also tried
php artisan cache:clear
php artisan config:clear
php artisan route:clear
these are my routes
['middleware' => 'auth'],function(){
AdvancedRoute::controller('orders', 'OrderController');
});
Route::get('auth/login', 'Auth\AuthController@create')->name('login');
Please or to participate in this conversation.