TanchoToplineCargo/routes/CRUDgenerated/route.otherarticles.php

14 lines
1.1 KiB
PHP
Raw Normal View History

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