TanchoToplineCargo/routes/route.paperdemands.php

14 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2024-05-05 04:47:49 +00:00
<?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');
});