enter image description here enter image description here
Target class [App\Http\Controllers\EmployeeController] does not exist.
protected $namespace ='App\\Http\\Controllers';
public function boot()
{
$this->configureRateLimiting();
$this->routes(function () {
Route::middleware('api')
->prefix('api')
->namespace($this->namespace)
->namespace('App\Http\Controllers')
->group(base_path('routes/api.php'));
Route::middleware('web')
->namespace($this->namespace)
->namespace('App\Http\Controllers')
->group(base_path('routes/web.php'));
});
}
using but not solving the problem
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire