/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $matches = Match::oldest('kickoff')->active()->get(); return view('match.index', compact('matches')); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $matches = Match::oldest('kickoff')->active()->get(); return view('match.index', compact('matches')); }