NEW_CPM/routes/users.php
2025-04-02 17:49:09 +05:45

12 lines
477 B
PHP

<?php
use App\Http\Controllers\UserController;
use Illuminate\Support\Facades\Route;
Route::prefix('users')->as('user.')->middleware('auth')->group(function () {
Route::get('/', [UserController::class, 'index'])->name('index');
Route::get('/create', [UserController::class, 'create'])->name('create');
Route::post('/store', [UserController::class, 'store'])->name('store');
Route::put('/update/{user}', [UserController::class, 'update'])->name('update');
});