/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id, CoachDetail $clubhistories, Club $club, ChampionshipDetail $championship, Coach $coach) { return view('admin.coachdetail.edit')->with('coachdetail', $clubhistories->find($id))->with('club', $club->lists('name', 'id'))->with('coach', $coach->lists('name', 'id')); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id, PlayerHistory $playerhistories, Player $player, Club $club) { return view('admin.playerhistories.edit')->with('playerhistories', $playerhistories->find($id))->with('players', $player->lists('name', 'id'))->with('club', $club->lists('name', 'id')); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id, Event $event, Club $club, Championship $championship) { return view('admin.events.edit')->with('event', $event->find($id))->with('championship', $championship->lists('championship_name', 'id'))->with('club', $club->lists('name', 'id')); }