Exemple #1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param int $id
  *
  * @return mixed
  */
 public function edit($id)
 {
     $fixture = Fixture::findOrFail($id);
     $divisions = Division::all();
     $teams = Team::all();
     $venues = Venue::all();
     return view('admin.data-management.fixtures.edit', compact('fixture', 'divisions', 'teams', 'venues'));
 }