From 5d2e96eb6acf0b8bb3c5c930c6cdf791f86003c8 Mon Sep 17 00:00:00 2001 From: ouegy Date: Thu, 28 Nov 2024 12:14:05 +1000 Subject: [PATCH] Update web.php --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 499cfde5..3674f2d6 100644 --- a/routes/web.php +++ b/routes/web.php @@ -17,7 +17,7 @@ // Task 1: point the main "/" URL to the HomeController method "index" // Put one code line here below -Route::get('/', [HomeController::class, 'index'])->name(('welcome')); +Route::get('/', [HomeController::class, 'index']); // Task 2: point the GET URL "/user/[name]" to the UserController method "show"