/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $dents = Dentist::orderby('name')->simplePaginate($this->recPerPage); return view('libraries.dentists.index', ['dents' => $dents, 'pageTitle' => 'ODRMS - Dentists']); }