From 0fb22b300fa224b907b3bddc9d569e8d0b7c9eaf Mon Sep 17 00:00:00 2001 From: jacobherrington Date: Wed, 26 Sep 2018 18:33:51 -0500 Subject: [PATCH] Update promotion actions documentation It is important that the documentation shows a proper example of namespacing promotion actions. --- guides/source/developers/promotions/promotion-actions.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/developers/promotions/promotion-actions.html.md b/guides/source/developers/promotions/promotion-actions.html.md index b3b01b71a3f..10b8a93d85d 100644 --- a/guides/source/developers/promotions/promotion-actions.html.md +++ b/guides/source/developers/promotions/promotion-actions.html.md @@ -82,7 +82,7 @@ You must then register the custom action in an initializer in your `config/initializers/` directory: ```ruby -Rails.application.config.spree.promotions.actions << MyPromotionAction +Rails.application.config.spree.promotions.actions << MyNamespace::MyPromotionAction ``` [create-item-adjustments]: https://github.com/solidusio/solidus/blob/master/core/app/models/spree/promotion/actions/create_item_adjustments.rb