app/Http/Controllers/SuperAdmin/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(UpdateUserRequest $request, User $user)
    {
        $user->update($request->validated());
        return redirect()->route('super.users.index');
    }
public function update ( UpdateUserRequest $ request , User $ user ) { $ user -> update ( $ request -> validated ( ) ) ; return redirect ( ) -> route ( 'super.users.index' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .
//