17 lines
1.3 KiB
PHP
17 lines
1.3 KiB
PHP
<?php
|
|
use App\Http\Controllers\DesignationsController;
|
|
use Illuminate\Support\Facades\Route;
|
|
Route::prefix("designation")->group(function () {
|
|
Route::get('/', [DesignationsController::class, 'index'])->name('designation.index');
|
|
Route::get('/create', [DesignationsController::class, 'create'])->name('designation.create');
|
|
Route::post('/store', [DesignationsController::class, 'store'])->name('designation.store');
|
|
Route::post('/sort', [DesignationsController::class, 'sort'])->name('designation.sort');
|
|
Route::post('/updatealias', [DesignationsController::class, 'updatealias'])->name('designation.updatealias');
|
|
Route::get('/show/{id}', [DesignationsController::class, 'show'])->name('designation.show');
|
|
Route::get('/edit/{id}', [DesignationsController::class, 'edit'])->name('designation.edit') ;
|
|
Route::post('/update/{id}', [DesignationsController::class, 'update'])->name('designation.update');
|
|
Route::get('/destroy/{id}', [DesignationsController::class, 'destroy'])->name('designation.destroy');
|
|
Route::get('/toggle/{id}', [DesignationsController::class, 'toggle'])->name('designation.toggle');
|
|
Route::get('/clone/{id}', [DesignationsController::class, 'clone'])->name('designation.clone');
|
|
});
|