Skip to content

Commit

Permalink
Trigger rule registration after promotion actions have been defined i…
Browse files Browse the repository at this point in the history
…n promo core
  • Loading branch information
iloveitaly committed Jul 13, 2014
1 parent bb4202b commit e1c3886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spree_promo_variant_rule/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def self.activate
end
end

initializer 'spree.promo.register.promotions.rules' do |app|
initializer 'spree.promo.register.promotions.rules', after: 'spree.promo.register.promotions.actions' do |app|
app.config.spree.promotions.rules << Spree::Promotion::Rules::Variant
end

Expand Down

0 comments on commit e1c3886

Please sign in to comment.