/**
  * 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());
 }
 /**
  * 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'));
 }
 /**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function create(ChampionshipDetail $championship, Club $club, CoachDetail $coach, Coach $coach)
 {
     return view('admin.coachdetail.create')->with('championship', $championship->all())->with('club', $club->lists('name', 'id'))->with('coach', $coach->lists('name', 'id'));
 }
 /**
  * Update the specified resource in storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function update($id, CreateChampionshipDetailRequest $request, Championship $champtionship)
 {
     $champtionship->find($id)->update($request->all());
     return redirect('championship');
 }