Example #1
0
 /**
  * Create a new user form.
  *
  * @Get("users/new", middleware={"shift.account", "shift.auth"}, as="users.new")
  *
  * @return response|json
  */
 public function getNew()
 {
     $user = $this->userRepository->getNew();
     return $this->respond('shift::users.new', compact('user'));
 }