2024-05-05 04:47:49 +00:00
|
|
|
<?php
|
2024-06-04 10:25:03 +00:00
|
|
|
|
2024-05-05 04:47:49 +00:00
|
|
|
use App\Http\Controllers\CustomfieldsController;
|
|
|
|
use Illuminate\Support\Facades\Route;
|
2024-06-04 10:25:03 +00:00
|
|
|
|
2024-05-05 04:47:49 +00:00
|
|
|
Route::prefix("customfields")->group(function () {
|
2024-06-04 10:25:03 +00:00
|
|
|
Route::get('/', [CustomfieldsController::class, 'index'])->name('customfields.index');
|
|
|
|
Route::get('/create', [CustomfieldsController::class, 'create'])->name('customfields.create');
|
|
|
|
Route::post('/store', [CustomfieldsController::class, 'store'])->name('customfields.store');
|
|
|
|
Route::post('/sort', [CustomfieldsController::class, 'sort'])->name('customfields.sort');
|
|
|
|
Route::post('/updatealias', [CustomfieldsController::class, 'updatealias'])->name('customfields.updatealias');
|
|
|
|
Route::get('/show/{id}', [CustomfieldsController::class, 'show'])->name('customfields.show');
|
|
|
|
Route::get('/edit/{id}', [CustomfieldsController::class, 'edit'])->name('customfields.edit');
|
|
|
|
Route::post('/update/{id}', [CustomfieldsController::class, 'update'])->name('customfields.update');
|
|
|
|
Route::delete('/destroy/{id}', [CustomfieldsController::class, 'destroy'])->name('customfields.destroy');
|
|
|
|
});
|