/** * Return a list of all matches * * @return view **/ public function index() { $matches = Match::with('teams', 'results')->orderBy('created_at', 'desc')->paginate(10); return view('dashboard.matches.index', compact('matches')); }
/** * Return a list of all matches * * @return view **/ public function index() { $matches = Match::with('teams', 'results')->orderBy('created_at', 'desc')->paginate(10); return view('dashboard.matches.index', compact('matches')); }