Error with mapping out routes to controller classes in Laravel
I am having an issue when trying to define my routes to controller classes in Laravel. My web.php route looks like this: use AppHttpControllersFrontendArticlesController as FrontEndArticlesController; Route::get('/articles/{article:slug}', [FrontendArticlesController::class, 'show']); The controller looks like this: namespace AppHttpControllers; use AppModelsArticle; use IlluminateHttpRequest;…