New-OMIS/Modules/User/routes/web.php

22 lines
700 B
PHP
Raw Permalink Normal View History

2024-04-07 07:28:58 +00:00
<?php
use Illuminate\Support\Facades\Route;
2024-04-09 12:15:26 +00:00
use Modules\User\Http\Controllers\RoleController;
2024-04-07 07:28:58 +00:00
use Modules\User\Http\Controllers\UserController;
/*
|--------------------------------------------------------------------------
| 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::group([], function () {
Route::resource('user', UserController::class)->names('user');
2024-04-09 12:15:26 +00:00
Route::resource('role', RoleController::class)->names('role');
2024-04-07 07:28:58 +00:00
});