Created
May 2, 2024 17:25
-
-
Save raksit31667/85b4837f19772e75bc2c58cdabe17715 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Http\Controllers\UserController; | |
use Illuminate\Support\Facades\Route; | |
Route::get('/', function () { | |
return view('welcome'); | |
}); | |
Route::get('/users/{username}', [UserController::class, 'show']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment