group(function () { Route::name('basicdata.')->prefix('basic-data')->group(function () { Route::name('jenis-fasilitas-kredit.')->prefix('jenis-fasilitas-kredit')->group(function () { Route::get('restore/{id}', [JenisFasilitasKreditController::class, 'restore'])->name('restore'); Route::get('datatables', [JenisFasilitasKreditController::class, 'dataForDatatables'])->name('datatables'); Route::get('export', [JenisFasilitasKreditController::class, 'export'])->name('export'); }); Route::resource('jenis-fasilitas-kredit', JenisFasilitasKreditController::class); }); });