diff --git a/guides/promotions/promotion-rules.md b/guides/promotions/promotion-rules.md index 3be15d39911..f2c81a2c86c 100644 --- a/guides/promotions/promotion-rules.md +++ b/guides/promotions/promotion-rules.md @@ -100,7 +100,7 @@ You must then register the custom rule in an initializer in your `config/initializers/` directory: ```ruby -Rails.application.config.spree.promotions.rules << MyPromotionRule +Rails.application.config.spree.promotions.rules << Spree::Promotion::Rules::MyPromotionRule ```