TanchoToplineCargo/routes/CRUDgenerated/route.faqs.faqs.php

14 lines
1.0 KiB
PHP
Raw Normal View History

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