api code global jain
This commit is contained in:
11
routes/api/v1/child.php
Normal file
11
routes/api/v1/child.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\Api\V1\Access\UserController;
|
||||
|
||||
Route::group(['middleware' => 'auth:sanctum', 'as' => 'api.child.'], function () {
|
||||
// Route::GET('passive', [UserController::class, 'index'])->name('index');
|
||||
Route::POST('child', [UserController::class, 'storeChildUser'])->name('store');
|
||||
Route::POST('child/{user}', [UserController::class, 'updateChildUser'])->name('update');
|
||||
Route::GET('child/{user}', [UserController::class, 'showChildUser'])->name('show');
|
||||
Route::DELETE('child/{user}', [UserController::class, 'destroyChildUser'])->name('destroy');
|
||||
});
|
||||
Reference in New Issue
Block a user