/** * Display a listing of the resource. * * @return Response */ public function index() { $review = Review::paginate(15); return view('admin.review.index', compact('review')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $data = Review::paginate(2); return view('review.index', compact('data')); }