mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix redirect, courtesy of @SuperSandro2000
This commit is contained in:
@@ -98,7 +98,7 @@ trait UserNavigation
|
|||||||
foreach ($transactions as $transaction) {
|
foreach ($transactions as $transaction) {
|
||||||
$type = $transaction->account->accountType->type;
|
$type = $transaction->account->accountType->type;
|
||||||
if (!in_array($type, $ignore)) {
|
if (!in_array($type, $ignore)) {
|
||||||
return redirect(route('accounts.show', [$transaction->account_id]));
|
return redirect(route('accounts.edit', [$transaction->account_id]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user