/** * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function index() { $students = Student::simplePaginate(50); return view('welcome', compact('students')); }