/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id, Coach $coach, Club $club) { return view('admin.coach.edit')->with('coach', $coach->find($id))->with('club', $club->all()); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id, Club $club, Player $player) { return view('admin.players.edit')->with('player', $player->find($id))->with('club', $club->all()); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id, ClubHistory $clubhistories, Club $club, ChampionshipDetail $championship) { return view('admin.clubhistories.edit')->with('clubhistories', $clubhistories->find($id))->with('club', $club->all())->with('championship', $championship->all()); }
/** * Display a listing of the resource. * * @return Response */ public function index(Club $club) { return view('admin.club.index')->with('club', $club->all()); }