app/Http/Controllers/TeamController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Team  $team
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Team $team)
    {
        $this->authorize("delete", Team::class);
        $team->delete();
        return redirect()->back();
    }
public function destroy ( Team $ team ) { $ this -> authorize ( " delete " , Team :: class ) ; $ team -> delete ( ) ; return redirect ( ) -> back ( ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .