Sha256: 244f790a45a20632e5594f59112ec07e513137341f1394696b0002018122c523
Contents?: true
Size: 257 Bytes
Versions: 6
Compression:
Stored size: 257 Bytes
Contents
module Spree module VariantDecorator def self.included(base) base.class_eval do has_many :attachments, as: :viewable, dependent: :destroy, inverse_of: :viewable end end end end Spree::Variant.include Spree::VariantDecorator
Version data entries
6 entries across 6 versions & 1 rubygems