Add web routes: user CRUD & root path
This commit is contained in:
parent
6f41446d55
commit
998ed25315
@ -1 +1,10 @@
|
||||
<?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...');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user