/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy(Player $player) { $fullName = $player->fullName; $player->delete(); return redirect()->route('dashboard.player.index')->with('app-success', $fullName . ' has been removed.'); }