name('home'); Route::get('dashboard', function () { return Inertia::render('Dashboard'); })->middleware(['auth', 'verified'])->name('dashboard'); // Route::get('/cards', [App\Http\Controllers\CardController::class, 'index'])->name('cards.index'); Route::get('/tirage',[App\Http\Controllers\CardController::class, 'index'])->name('cards.shuffle'); Route::post('/draw-card', [App\Http\Controllers\CardController::class, 'drawCard']); require __DIR__.'/settings.php'; require __DIR__.'/auth.php';