Add web routes: user CRUD & root path

This commit is contained in:
NoAvatar 2024-10-17 04:54:30 +10:00
parent 6f41446d55
commit 998ed25315

View File

@ -1 +1,10 @@
<?php <?php
use App\Http\Controllers\UserController;
use Illuminate\Support\Facades\Route;
Route::resource('user', UserController::class);
Route::get('/', function () {
return response('Simple blog API. In develop...');
});