From 55d839d892fc15db1deafa308cdf5bd5d59df599 Mon Sep 17 00:00:00 2001 From: qwerty291996 <82264359+qwerty291996@users.noreply.github.com> Date: Sun, 24 Sep 2023 10:52:04 +0500 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..5bf477586 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('/', [\App\Http\Controllers\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