TanchoToplineCargo/routes/CRUDgenerated/route.formsubmissions.php

14 lines
1.2 KiB
PHP
Raw Normal View History

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