From cafc1edde5844f19ed96a40ee7fa974372024a94 Mon Sep 17 00:00:00 2001 From: Sadhana Regmi <98339133+ammbika@users.noreply.github.com> Date: Tue, 3 Dec 2024 12:04:42 +0545 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 15508ce8d..22b8cab1d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -14,7 +14,7 @@ */ // Task 1: point the main "/" URL to the HomeController method "index" -// Put one code line here below +Route::get('/', [UserController::class, "index"]); // Task 2: point the GET URL "/user/[name]" to the UserController method "show"