new role functionality

This commit is contained in:
2026-05-11 11:46:40 +08:00
parent 909c767e01
commit 6739a5e169
6 changed files with 116 additions and 3 deletions

View File

@@ -14,6 +14,8 @@ Route::get('/dashboard', function () {
Route::middleware('auth')->group(function () {
Route::get('/role', [RoleController::class, 'index'])->name('role.index');
Route::get('/role/create', [RoleController::class, 'create'])->name('role.create');
Route::post('/role', [RoleController::class, 'store'])->name('role.store');
Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit');
Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update');
Route::delete('/profile', [ProfileController::class, 'destroy'])->name('profile.destroy');