From 4e6d2b9dff6e18636de9c991094d2b84294bc912 Mon Sep 17 00:00:00 2001 From: sebastianmiron01 <93914967+sebastianmiron01@users.noreply.github.com> Date: Mon, 11 Nov 2024 11:26:57 +0200 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..1a3afc862 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,7 +15,7 @@ // Task 1: point the main "/" URL to the HomeController method "index" // Put one code line here below - +Route::get('/', [HomeController::class, 'index']); // Task 2: point the GET URL "/user/[name]" to the UserController method "show" // It doesn't use Route Model Binding, it expects $name as a parameter