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

14 lines
1.1 KiB
PHP

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