Exemplo n.º 1
0
 public function accountWishlist()
 {
     //
     $limit = 20;
     $customer = \Auth::customer()->get();
     $wishlists = \App\WishList::where('customer_id', $customer->id)->orderBy('created_at', 'desc')->paginate($limit);
     return view('pages.account-wishlist', compact('wishlists', 'customer'));
 }