src/Http/Controllers/Admin/UserController.php
public function edit($id)
    {
        $user = $this->userRepository->findWithoutFail($id);

        if (empty($user)) {
            Flash::error(trans('l5starter::messages.404_not_found'));

            return redirect(route('admin.users.index'));
        }

        return view('l5starter::admin.users.edit')->with('user', $user);
    }
public function edit($id)
    {
        $user = $this->userRepository->findWithoutFail($id);

        if (empty($user)) {
            Flash::error(trans('l5starter::messages.404_not_found'));

            return redirect(route('admin.users.index'));
        }

        return view('l5starter::admin.users.edit')->with('user', $user);
    }
Show the form for editing the specified User.

@param  int $id

@return Response