Sha256: bf5d13d8fcd02fda22219944c47a542ee8dd5decebf22b57c6617abd65a0878d
Contents?: true
Size: 348 Bytes
Versions: 8
Compression:
Stored size: 348 Bytes
Contents
# frozen_string_literal: true module SolidusPrototypes module Spree module TaxonDecorator def self.prepended(base) base.class_eval do has_many :prototype_taxons, dependent: :destroy has_many :prototypes, through: :prototype_taxons end end ::Spree::Taxon.prepend self end end end
Version data entries
8 entries across 8 versions & 1 rubygems