Fix Breadcrumb and Router

This commit is contained in:
Daeng Deni Mardaeni
2024-10-29 11:56:13 +07:00
parent e2a40f9eb3
commit eecc4e6b95
6 changed files with 105 additions and 36 deletions

View File

@@ -23,6 +23,19 @@
Route::get('export', [CurrencyController::class, 'export'])->name('export');
});
Route::resource('mata-uang', CurrencyController::class, [
'names' => [
'index' => 'currency.index',
'show' => 'currency.show',
'create' => 'currency.create',
'store' => 'currency.store',
'edit' => 'currency.edit',
'update' => 'currency.update',
'destroy' => 'currency.destroy',
],
]);
Route::name('branch.')->prefix('cabang')->group(function () {
Route::get('restore/{id}', [BranchController::class, 'restore'])->name('restore');
Route::get('datatables', [BranchController::class, 'dataForDatatables'])->name('datatables');