This commit is contained in:
2026-05-11 15:49:01 +08:00
parent 7137975827
commit 532b699e37
5 changed files with 43 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
<?php
use App\Http\Controllers\ProfileController;
use App\Http\Controllers\RoleController;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
@@ -15,6 +16,7 @@ Route::middleware('auth')->group(function () {
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');
Route::get('/role', [RoleController::class, 'index'])->name('roles.index');
});
require __DIR__.'/auth.php';