mardi 22 mars 2016

Class App\Http\Controllers\AuthController does not exist Laravel 5.2

My whole application, made in Laravel 5.2, is working perfectly fine but when i tried to get list of routes through following command:

php artisan route:list

It shows me following error:

[ReflectionException] Class App\Http\Controllers\AuthController does not exist

i tried to add namespace aswell:

Route::group(['middleware' => ['web'], 'namespace' => 'Auth'], function () {
    Route::auth();
});

then it shows me following error:

[ReflectionException]
Class App\Http\Controllers\Auth\Auth\AuthController does not exist

My routes file is:

Route::group(['middleware' => ['web'], 'namespace'=>'Auth'], function() {
     Route::auth(); 
});

Please help! Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire