/** * View library-wide list reserved books * @return Response */ public function reserved() { $all = Book::reserved()->all(); $book = $this->paginate($all, 3); $total = count($all); return view('admin.reserved', compact('book', 'total')); }