diff --git a/routes/web.php b/routes/web.php index 1e02fe30..04527340 100644 --- a/routes/web.php +++ b/routes/web.php @@ -694,13 +694,13 @@ Route::get('/{id}/edit', [\App\Http\Controllers\Finance\BankAccountController::class, 'edit'])->name('edit'); }); - // 계좌거래내역 + // 계좌거래내역 → 바로빌 계좌 입출금내역으로 리디렉션 Route::get('/account-transactions', function () { if (request()->header('HX-Request')) { - return response('', 200)->header('HX-Redirect', route('finance.account-transactions')); + return response('', 200)->header('HX-Redirect', route('barobill.eaccount.index')); } - return view('finance.account-transactions'); + return redirect()->route('barobill.eaccount.index'); })->name('account-transactions'); // 자금계획일정 (실제 구현)