diff --git a/app/controllers/spree/admin/promotion_batches_controller.rb b/app/controllers/spree/admin/promotion_batches_controller.rb index e6d98d550a..4a9ce87a02 100644 --- a/app/controllers/spree/admin/promotion_batches_controller.rb +++ b/app/controllers/spree/admin/promotion_batches_controller.rb @@ -45,7 +45,7 @@ def duplicate deny_list: params[:forbidden_phrases].split } - Spree::Promotions::PopulatePromotionBatch.call(config) + Spree::Promotions::PopulatePromotionBatch.new(config).call flash[:success] = Spree.t('promotion_cloned') redirect_to spree.edit_admin_promotion_batch_url(@promotion_batch)