/**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function create()
 {
     $leagues = League::all();
     $stadiums = Stadium::all();
     $teams = Team::all();
     return view('admin.fixtures.create', compact('leagues', $leagues, 'teams', $teams, 'stadiums', $stadiums));
 }
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $team = Team::where('id', '=', $id)->first();
     $stadiums = Stadium::all();
     return view('admin.teams.edit', compact('team', $team, 'stadiums', $stadiums));
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     $stadium = Stadium::find($id);
     $stadium->delete();
     flash()->success('', 'Stadionas panaikintas!');
     return Redirect::to('/dashboard/stadiums/');
 }