Skip to content

Commit e547b00

Browse files
authored
Merge pull request #2742 from bazfer/patch-1
Update promotion-rules.md
2 parents bee57ac + 77727fb commit e547b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/promotions/promotion-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You must then register the custom rule in an initializer in your
100100
`config/initializers/` directory:
101101

102102
```ruby
103-
Rails.application.config.spree.promotions.rules << MyPromotionRule
103+
Rails.application.config.spree.promotions.rules << Spree::Promotion::Rules::MyPromotionRule
104104
```
105105

106106
<!-- TODO:

0 commit comments

Comments
 (0)