StocksNew/routes/CRUDgenerated/route.onboardings.php

16 lines
1.3 KiB
PHP
Raw Normal View History

2024-08-27 12:03:06 +00:00
<?php
use App\Http\Controllers\OnboardingsController;
use Illuminate\Support\Facades\Route;
Route::prefix("onboardings")->group(function () {
Route::get('/', [OnboardingsController::class, 'index'])->name('onboardings.index');
Route::get('/create', [OnboardingsController::class, 'create'])->name('onboardings.create');
Route::post('/store', [OnboardingsController::class, 'store'])->name('onboardings.store');
Route::post('/sort', [OnboardingsController::class, 'sort'])->name('onboardings.sort');
Route::post('/updatealias', [OnboardingsController::class, 'updatealias'])->name('onboardings.updatealias');
Route::get('/show/{id}', [OnboardingsController::class, 'show'])->name('onboardings.show');
Route::get('/edit/{id}', [OnboardingsController::class, 'edit'])->name('onboardings.edit') ;
Route::post('/update/{id}', [OnboardingsController::class, 'update'])->name('onboardings.update');
Route::get('/destroy/{id}', [OnboardingsController::class, 'destroy'])->name('onboardings.destroy');
Route::get('/toggle/{id}', [OnboardingsController::class, 'toggle'])->name('onboardings.toggle');
Route::get('/clone/{id}', [OnboardingsController::class, 'clone'])->name('onboardings.clone');
});