14 lines
1.0 KiB
PHP
14 lines
1.0 KiB
PHP
|
<?php
|
||
|
use App\Http\Controllers\SitemenusController;
|
||
|
use Illuminate\Support\Facades\Route;
|
||
|
Route::prefix("sitemenus")->group(function () {
|
||
|
Route::get('/', [SitemenusController::class, 'index'])->name('sitemenus.index');
|
||
|
Route::get('/create', [SitemenusController::class, 'create'])->name('sitemenus.create');
|
||
|
Route::post('/store', [SitemenusController::class, 'store'])->name('sitemenus.store');
|
||
|
Route::post('/sort', [SitemenusController::class, 'sort'])->name('sitemenus.sort');
|
||
|
Route::post('/updatealias', [SitemenusController::class, 'updatealias'])->name('sitemenus.updatealias');
|
||
|
Route::get('/show/{id}', [SitemenusController::class, 'show'])->name('sitemenus.show');
|
||
|
Route::get('/edit/{id}', [SitemenusController::class, 'edit'])->name('sitemenus.edit') ;
|
||
|
Route::post('/update/{id}', [SitemenusController::class, 'update'])->name('sitemenus.update');
|
||
|
Route::delete('/destroy/{id}', [SitemenusController::class, 'destroy'])->name('sitemenus.destroy');
|
||
|
});
|