Example #1
0
 /**
  * Render the form for a new account.
  *
  * @Get("accounts/new", middleware={"shift.account", "shift.auth"}, as="accounts.new")
  *
  * @return mixed
  */
 public function getNew()
 {
     $account = $this->accountRepository->getNew();
     return $this->respond('shift::accounts.new', compact('account'));
 }