We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca7f71 commit e1dc7b6Copy full SHA for e1dc7b6
1 file changed
legacy_promotions/app/patches/models/solidus_legacy_promotions/spree_taxon_patch.rb
@@ -5,10 +5,6 @@ module SpreeTaxonPatch
5
def self.prepended(base)
6
base.has_many :promotion_rule_taxons, dependent: :destroy
7
base.has_many :promotion_rules, through: :promotion_rule_taxons
8
-
9
- base.after_discard do
10
- self.taxon_promotion_rules = []
11
- end
12
end
13
14
::Spree::Taxon.prepend self
0 commit comments