TanchoToplineCargo/routes/route.paperdemands.php
2024-05-05 10:32:49 +05:45

14 lines
1.1 KiB
PHP

<?php
use App\Http\Controllers\PaperdemandsController;
use Illuminate\Support\Facades\Route;
Route::prefix("paperdemands")->group(function () {
Route::get('/', [PaperdemandsController::class, 'index'])->name('paperdemands.index');
Route::get('/create', [PaperdemandsController::class, 'create'])->name('paperdemands.create');
Route::post('/store', [PaperdemandsController::class, 'store'])->name('paperdemands.store');
Route::post('/sort', [PaperdemandsController::class, 'sort'])->name('paperdemands.sort');
Route::post('/updatealias', [PaperdemandsController::class, 'updatealias'])->name('paperdemands.updatealias');
Route::get('/show/{id}', [PaperdemandsController::class, 'show'])->name('paperdemands.show');
Route::get('/edit/{id}', [PaperdemandsController::class, 'edit'])->name('paperdemands.edit') ;
Route::post('/update/{id}', [PaperdemandsController::class, 'update'])->name('paperdemands.update');
Route::delete('/destroy/{id}', [PaperdemandsController::class, 'destroy'])->name('paperdemands.destroy');
});