app/controllers/spree/api/payments_controller.rb in spree_api-2.4.6 vs app/controllers/spree/api/payments_controller.rb in spree_api-2.4.7

- old
+ new

@@ -65,10 +65,10 @@ def find_payment @payment = @order.payments.find(params[:id]) end def perform_payment_action(action, *args) - authorize! action, Payment + authorize! action, Spree::Payment @payment.send("#{action}!", *args) respond_with(@payment, default_template: :show) end def payment_params