FTXInfotech / laravel-adminpanel

A Laravel Admin Panel (Laravel Version : 6.0)
967 stars 461 forks source link

Target class [App\Http\Controllers\Backend\Auth\Permission\PermissionController] does not exist. #714

Closed ketan32 closed 3 years ago

ketan32 commented 4 years ago

In /routes/backend/auth.php file, in the below line:

Route::resource('permission', 'PermissionController', ['except' => ['show']]);

Need to correct the controller name as:

Route::resource('permission', 'PermissionsController', ['except' => ['show']]);

With this change, it will able to find the correct controller class.