mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 23:50:09 +00:00
Fix route [skip ci]
This commit is contained in:
@@ -274,7 +274,7 @@ class SingleController extends Controller
|
|||||||
|
|
||||||
if ($doSplit === true) {
|
if ($doSplit === true) {
|
||||||
// redirect to edit screen:
|
// redirect to edit screen:
|
||||||
return redirect(route('transactions.edit', [$journal->id]));
|
return redirect(route('transactions.edit-split', [$journal->id]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -311,6 +311,9 @@ class SingleController extends Controller
|
|||||||
Session::flash('success', strval(trans('firefly.updated_' . $type, ['description' => e($data['description'])])));
|
Session::flash('success', strval(trans('firefly.updated_' . $type, ['description' => e($data['description'])])));
|
||||||
Preferences::mark();
|
Preferences::mark();
|
||||||
|
|
||||||
|
// if wishes to split:
|
||||||
|
|
||||||
|
|
||||||
if (intval($request->get('return_to_edit')) === 1) {
|
if (intval($request->get('return_to_edit')) === 1) {
|
||||||
// set value so edit routine will not overwrite URL:
|
// set value so edit routine will not overwrite URL:
|
||||||
Session::put('transactions.edit.fromUpdate', true);
|
Session::put('transactions.edit.fromUpdate', true);
|
||||||
|
|||||||
Reference in New Issue
Block a user