New-OMIS/routes/CRUDgenerated/route.admittedpplications.php

16 lines
1.5 KiB
PHP
Raw Normal View History

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