TIF_NGANJUK_E41211253/routes/web.php

28 lines
1.1 KiB
PHP

<?php
use App\Http\Controllers\AuthController;
use App\Http\Controllers\DashboardController;
use Illuminate\Routing\Route as RoutingRoute;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/
Route::get('/', function () {
return view('welcome');
});
Route::get('/login', [AuthController::class, 'index'])->name('login');
Route::get('/dashboard', [DashboardController::class, 'index'])->name('dashboard');;
Route::get('/unit1', [DashboardController::class, 'dua'])->name('admin.pages.unit1');
Route::get('/profil', [DashboardController::class, 'profiladmin'])->name('profiladmin');
Route::get('/daftarpegawai', [DashboardController::class, 'daftarpegawai'])->name('registerpegawai');
Route::get('/datapegawai', [DashboardController::class, 'datapegawai'])->name('datapegawai');