group(function () { Route::get('/', [RolepermissionsController::class, 'index'])->name('rolepermissions.index'); Route::get('/create', [RolepermissionsController::class, 'create'])->name('rolepermissions.create'); Route::post('/store', [RolepermissionsController::class, 'store'])->name('rolepermissions.store'); Route::post('/sort', [RolepermissionsController::class, 'sort'])->name('rolepermissions.sort'); Route::post('/updatealias', [RolepermissionsController::class, 'updatealias'])->name('rolepermissions.updatealias'); Route::get('/show/{id}', [RolepermissionsController::class, 'show'])->name('rolepermissions.show'); Route::get('/edit/{id}', [RolepermissionsController::class, 'edit'])->name('rolepermissions.edit') ; Route::post('/update/{id}', [RolepermissionsController::class, 'update'])->name('rolepermissions.update'); Route::get('/destroy/{id}', [RolepermissionsController::class, 'destroy'])->name('rolepermissions.destroy'); Route::get('/toggle/{id}', [RolepermissionsController::class, 'toggle'])->name('rolepermissions.toggle'); Route::get('/clone/{id}', [RolepermissionsController::class, 'clone'])->name('rolepermissions.clone'); });