Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Target class [AppController] does not exist.

public function boot()
{
    ...

    Route::prefix('api')
        ->middleware('api')
        ->namespace('AppHttpControllers') // <---------
        ->group(base_path('routes/api.php'));

    ...
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Target #class
ADD COMMENT
Topic
Name
8+7 =