16 lines
1.3 KiB
PHP
16 lines
1.3 KiB
PHP
|
<?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');
|
||
|
});
|