middleware(['auth', 'admin'])->name('admin.')->group(function () { Route::get('/', function () { return view('admin.home'); })->name('home'); });