Skip to content

Commit

Permalink
Merge pull request #2871 from jacobherrington/docs/update-promotion-a…
Browse files Browse the repository at this point in the history
…ctions

Update promotion actions documentation
  • Loading branch information
kennyadsl authored Nov 9, 2018
2 parents 76e1f8b + 0fb22b3 commit 8c2e216
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8c2e216

Please sign in to comment.