/** * [selectAll description] * @return [type] [description] */ public function selectAll() { return Tournament::all(); }
/** * Display the specified team. * * @param int $id * @return Response */ public function show($id) { $team = Team::findOrFail($id); $users = User::all(); $tournaments = Tournament::all(); return view('/teams/team-details', ['team' => $team, 'users' => $users, 'tournaments' => $tournaments]); }