From a78c9bec2bdfc93d1bfdc16709293032f0b7399b Mon Sep 17 00:00:00 2001 From: jacob Date: Thu, 15 Nov 2018 13:32:41 -0600 Subject: [PATCH] Add a file path for the initializer --- guides/source/developers/promotions/promotion-rules.html.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guides/source/developers/promotions/promotion-rules.html.md b/guides/source/developers/promotions/promotion-rules.html.md index 7d998cff06f..6c3221a955b 100644 --- a/guides/source/developers/promotions/promotion-rules.html.md +++ b/guides/source/developers/promotions/promotion-rules.html.md @@ -100,6 +100,7 @@ You must then register the custom rule in an initializer in your `config/initializers/` directory: ```ruby +# config/initializers/spree.rb Rails.application.config.spree.promotions.rules << Spree::Promotion::Rules::MyPromotionRule ```