Method: Spree::AppConfiguration#product_gallery_class

Defined in:
lib/spree/app_configuration.rb

Allows providing your own class for image galleries on Products

Enumerable of images adhering to the present_image_class interface

Returns:

  • (Class)

    a class that implements an images method and returns an



491
# File 'lib/spree/app_configuration.rb', line 491

class_name_attribute :product_gallery_class, default: 'Spree::Gallery::ProductGallery'