Penambahan Akses Laman Dosen dab perbaikan fix

This commit is contained in:
Ariyutta
2026-11-09 12:01:30 +07:00
parent 33bc1233f7
commit ef46b84da8
48 changed files with 3018 additions and 131 deletions
+2
View File
@@ -3,6 +3,7 @@
use App\Enums\Role;
use App\Http\Controllers\Account\PasswordController;
use App\Http\Controllers\Account\ProfileController;
use App\Http\Controllers\Account\SwitchRoleController;
use App\Http\Controllers\Auth\AuthenticatedSessionController;
use App\Http\Controllers\DashboardRedirectController;
use App\Http\Controllers\KalenderController;
@@ -24,6 +25,7 @@ Route::middleware('guest')->group(function () {
Route::middleware(['auth', 'active'])->group(function () {
Route::get('dashboard', DashboardRedirectController::class)->name('dashboard');
Route::post('logout', [AuthenticatedSessionController::class, 'destroy'])->name('logout');
Route::post('peran', SwitchRoleController::class)->name('peran.ganti');
// Halaman bersama semua role (tanpa pembatasan role): akun, pengumuman, kalender akademik.
Route::get('akun/profil', [ProfileController::class, 'show'])->name('akun.profil');