14 lines
1.0 KiB
PHP
14 lines
1.0 KiB
PHP
<?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');
|
|
}); |