xxxxxxxxxx
// Change in Http\Provider\RouteServiceProvider.php
public const HOME = '/home';
/*---------------------------*/
protected $namespace = 'App\Http\Controllers';
xxxxxxxxxx
use App\Http\Controllers\UserController;
//this is for admin controllers like this
use App\Http\Controllers\Admin\UserController;
xxxxxxxxxx
Route::get('/home', 'App\Http\Controllers\HomeController@index')->name('home');