Refactor many request related methods into (complex) trait.

This commit is contained in:
James Cole
2018-08-09 17:46:14 +02:00
parent 4f697e77d5
commit 9865800e39
18 changed files with 480 additions and 390 deletions

View File

@@ -208,7 +208,7 @@ class PiggyBankController extends Controller
'targetamount' => $piggyBank->targetamount,
'targetdate' => $targetDate,
'startdate' => $startDate,
'notes' => null === $note ? '' : $note->text,
'notes' => null === $note ? '' : $note->text,
];
session()->flash('preFilled', $preFilled);