Esempio n. 1
0
 /**
  * To save new user
  *
  * @param User             $user
  * @param FormRequest\User $request
  *
  * @return \Illuminate\Http\RedirectResponse
  */
 public function postAdd(User $user, FormRequest\User $request)
 {
     $user->createUser($request->all());
     return redirect('administration/users')->with('notice', trans('tinyissue.user_added'));
 }