TanchoToplineCargo/routes/CRUDgenerated/route.sliders.php

14 lines
1.0 KiB
PHP
Raw Normal View History

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