Skip to content

Commit

Permalink
Update web.php
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty291996 authored Sep 24, 2023
1 parent 7313d34 commit 55d839d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55d839d

Please sign in to comment.