2024-04-11 10:59:09 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
use Modules\Admin\Http\Controllers\AdminController;
|
2024-04-14 12:44:29 +00:00
|
|
|
use Modules\Admin\Http\Controllers\AppreciationController;
|
|
|
|
use Modules\Admin\Http\Controllers\PromotionDemotionController;
|
|
|
|
use Modules\Admin\Http\Controllers\ResignationController;
|
2024-04-11 10:59:09 +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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Route::group([], function () {
|
|
|
|
Route::resource('admin', AdminController::class)->names('admin');
|
2024-04-14 12:44:29 +00:00
|
|
|
Route::resource('promotion-demotion', PromotionDemotionController::class)->names('promotionDemotion');
|
|
|
|
Route::resource('appreciation', AppreciationController::class)->names('appreciation');
|
|
|
|
Route::resource('resignation', ResignationController::class)->names('resignation');
|
2024-04-11 10:59:09 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
require __DIR__ . '/route.countries.php';
|
|
|
|
require __DIR__ . '/route.provinces.php';
|
|
|
|
require __DIR__ . '/route.districts.php';
|
|
|
|
require __DIR__ . '/route.cities.php';
|
|
|
|
require __DIR__ . '/route.genders.php';
|
|
|
|
require __DIR__ . '/route.castes.php';
|
|
|
|
require __DIR__ . '/route.nationalities.php';
|