34 lines
1.3 KiB
PHP
34 lines
1.3 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use Modules\Admin\Http\Controllers\AdminController;
|
|
use Modules\Admin\Http\Controllers\AppreciationController;
|
|
use Modules\Admin\Http\Controllers\PromotionDemotionController;
|
|
use Modules\Admin\Http\Controllers\ResignationController;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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');
|
|
Route::resource('promotion-demotion', PromotionDemotionController::class)->names('promotionDemotion');
|
|
Route::resource('appreciation', AppreciationController::class)->names('appreciation');
|
|
Route::resource('resignation', ResignationController::class)->names('resignation');
|
|
});
|
|
|
|
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';
|