mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 11:19:16 +00:00
Introduce clone and edit button.
This commit is contained in:
@@ -89,6 +89,10 @@ class CreateController extends Controller
|
||||
session()->flash('success', trans('firefly.stored_journal', ['description' => $title]));
|
||||
session()->flash('success_url', $link);
|
||||
|
||||
if('edit' === $request->get('redirect')) {
|
||||
return response()->json(['redirect' => route('transactions.edit', [$newGroup->id])]);
|
||||
}
|
||||
|
||||
return response()->json(['redirect' => route('transactions.show', [$newGroup->id])]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user