2024-04-05 04:33:35 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
use Modules\Leave\Http\Controllers\LeaveController;
|
2024-04-11 12:10:56 +00:00
|
|
|
use Modules\Leave\Http\Controllers\LeaveTypeController;
|
2024-04-05 04:33:35 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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!
|
|
|
|
|
|
2024-04-11 12:10:56 +00:00
|
|
|
*/
|
2024-04-05 04:33:35 +00:00
|
|
|
|
|
|
|
Route::group([], function () {
|
|
|
|
Route::resource('leave', LeaveController::class)->names('leave');
|
2024-04-11 12:10:56 +00:00
|
|
|
Route::resource('leave-type', LeaveTypeController::class)->names('leaveType');
|
2024-04-05 04:33:35 +00:00
|
|
|
});
|