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

16 lines
1.3 KiB
PHP
Raw Normal View History

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