mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Various code cleanup.
This commit is contained in:
@@ -146,8 +146,9 @@ class AttachmentController extends Controller
|
||||
$this->rememberPreviousUri('attachments.edit.uri');
|
||||
}
|
||||
$request->session()->forget('attachments.edit.fromUpdate');
|
||||
|
||||
$preFilled['notes'] = $this->repository->getNoteText($attachment);
|
||||
$preFilled = [
|
||||
'notes' => $this->repository->getNoteText($attachment),
|
||||
];
|
||||
$request->session()->flash('preFilled', $preFilled);
|
||||
|
||||
return view('attachments.edit', compact('attachment', 'subTitleIcon', 'subTitle'));
|
||||
|
Reference in New Issue
Block a user