Fix some view issues reported in #2436

This commit is contained in:
James Cole
2019-08-23 13:06:00 +02:00
parent 02df24bbc9
commit e3a338db0e
2 changed files with 7 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ class CreateController extends Controller
*/
public function create(?string $objectType)
{
app('preferences')->mark();
/** @var AccountRepositoryInterface $repository */
$repository = app(AccountRepositoryInterface::class);
$cash = $repository->getCashAccount();