New-OMIS/routes/CRUDgenerated/route.eventlocations.php
2024-04-05 11:07:15 +05:45

16 lines
1.4 KiB
PHP

<?php
use App\Http\Controllers\EventlocationsController;
use Illuminate\Support\Facades\Route;
Route::prefix("eventlocations")->group(function () {
Route::get('/', [EventlocationsController::class, 'index'])->name('eventlocations.index');
Route::get('/create', [EventlocationsController::class, 'create'])->name('eventlocations.create');
Route::post('/store', [EventlocationsController::class, 'store'])->name('eventlocations.store');
Route::post('/sort', [EventlocationsController::class, 'sort'])->name('eventlocations.sort');
Route::post('/updatealias', [EventlocationsController::class, 'updatealias'])->name('eventlocations.updatealias');
Route::get('/show/{id}', [EventlocationsController::class, 'show'])->name('eventlocations.show');
Route::get('/edit/{id}', [EventlocationsController::class, 'edit'])->name('eventlocations.edit') ;
Route::post('/update/{id}', [EventlocationsController::class, 'update'])->name('eventlocations.update');
Route::get('/destroy/{id}', [EventlocationsController::class, 'destroy'])->name('eventlocations.destroy');
Route::get('/toggle/{id}', [EventlocationsController::class, 'toggle'])->name('eventlocations.toggle');
Route::get('/clone/{id}', [EventlocationsController::class, 'clone'])->name('eventlocations.clone');
});