Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(promotions): Add model_class method to PromotionCodesController
Because the new promotion system lives outside the `spree` namespace, we need to be diligent about adding `model_class` to all the controllers. I have not added a spec, because this only fails if solidus_legacy_promotions is not loaded, and that is not the case in our test suite.
- Loading branch information