From 34800f7884d02ab1f36f9a54bb3ed26d89fd24ef Mon Sep 17 00:00:00 2001 From: DimGiagias Date: Fri, 13 Jun 2025 18:47:50 +0300 Subject: [PATCH] chore: removed unused routing --- routes/web.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/routes/web.php b/routes/web.php index 7f68f0e..f3a4376 100644 --- a/routes/web.php +++ b/routes/web.php @@ -13,13 +13,9 @@ use App\Http\Controllers\UserProgressController; use App\Http\Controllers\UserStatsController; use Illuminate\Support\Facades\Route; -use Inertia\Inertia; - -Route::get('/', function () { - return Inertia::render('Welcome'); -})->name('home'); Route::middleware(['auth', 'verified'])->group(function (): void { + Route::get('/', [DashboardController::class, 'index'])->name('dashboard'); Route::get('dashboard', [DashboardController::class, 'index'])->name('dashboard'); Route::get('/quizzes/{quiz}', [QuizController::class, 'show'])->name('quizzes.show');