Route::middleware(['auth:sanctum', 'can:view customers'])->group(function () { Route::get('/customers', [CustomerController::class, 'index'])->name('customer.index'); }