Skip to content

Commit

Permalink
Fix point the main "/" URL to the HomeController method "index"
Browse files Browse the repository at this point in the history
  • Loading branch information
abasakre committed Dec 26, 2024
1 parent 7313d34 commit c06d2c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\HomeController;

/*
|--------------------------------------------------------------------------
Expand All @@ -15,6 +16,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"
Expand Down

0 comments on commit c06d2c7

Please sign in to comment.