Example #1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     // List all tickets (admin only)
     $tickets = Ticket::simplePaginate();
     return view('tickets.index', ['tickets' => $tickets]);
 }