Skip to content

Commit

Permalink
Update web.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianmiron01 authored Nov 11, 2024
1 parent 7313d34 commit 4e6d2b9
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('/', [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 4e6d2b9

Please sign in to comment.