Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
Spree::Event.subscribe_subscribers!
when available
The new method `Spree::Event.subscribe_subscribers!` is introduced in Solidus with solidusio/solidus#3758 as a better way to subscribe event subscribers: under the hood, event subscribers use new interal mappings. Also, we need to keep around the old interface as well until it won't be supported anymore in Solidus.
- Loading branch information