/** * * @return \Illuminate\Http\Response */ public function indexAll() { $competitions = Competition::all(); return view('competitions/indexAll')->with(['competitions' => $competitions]); }