Module: Spree::WishlistHelper
- Included in:
- StoreController
- Defined in:
- app/helpers/spree/wishlist_helper.rb
Instance Method Summary collapse
-
#current_wishlist ⇒ Spree::Wishlist
Returns the current wishlist for the current user.
Instance Method Details
#current_wishlist ⇒ Spree::Wishlist
Returns the current wishlist for the current user.
6 7 8 |
# File 'app/helpers/spree/wishlist_helper.rb', line 6 def current_wishlist @current_wishlist ||= try_spree_current_user&.default_wishlist_for_store(current_store) end |