app/Http/Controllers/SuperAdmin/UserController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\User  $user
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(User $user)
    {
        $user->active = 0;
        $user->save();
        return redirect()->route('super.users.index');
    }
public function destroy ( User $ user ) { $ user -> active = 0 ; $ user -> save ( ) ; return redirect ( ) -> route ( 'super.users.index' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .
//