Example #1
0
 /**
  *
  * Show all persons
  * @return Response
  *
  */
 public function index()
 {
     $people = Persons::orderBy('forename')->orderBy('surname')->paginate(96);
     $user = $this->isAdmin;
     return view('people.index', compact('people', 'user'));
 }