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