app/Http/Controllers/Admin/UserController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\User  $user
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(Request $request, User $user,$id)
    {   
        $id=User::find($id);
        return view('Admin.users.edit')->with('user',$id);
    }
public function update ( Request $ request , User $ user , $ id ) { $ id = User :: find ( $ id ) ; return view ( 'Admin.users.edit' ) -> with ( 'user' , $ id ) ; }
Update the specified resource in storage.
Update the specified resource in storage .