file-management-system/routes/web.php

32 lines
973 B
PHP
Raw Permalink Normal View History

2023-04-11 09:21:20 +00:00
<?php
2023-11-03 09:12:15 +00:00
use App\Http\Controllers\Apps\PermissionManagementController;
use App\Http\Controllers\Apps\RoleManagementController;
use App\Http\Controllers\Apps\UserManagementController;
use App\Http\Controllers\Auth\SocialiteController;
2023-09-26 09:39:39 +00:00
use App\Http\Controllers\DashboardController;
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 within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::middleware(['auth', 'verified'])->group(function () {
Route::get('/', [DashboardController::class, 'index']);
2023-04-14 07:50:22 +00:00
Route::get('/dashboard', [DashboardController::class, 'index'])->name('dashboard');
2023-11-03 09:12:15 +00:00
2023-04-14 07:50:22 +00:00
});
2023-04-11 09:21:20 +00:00
Route::get('/error', function () {
abort(500);
});