From fc8f7560cf2458ec4f9a1aeba06c63cdaa433d9e Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Sun, 12 Nov 2017 11:37:21 +0800 Subject: [PATCH] fix build by skipping check_xhr --- app/controllers/discourse_donations/charges_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/discourse_donations/charges_controller.rb b/app/controllers/discourse_donations/charges_controller.rb index 8f51e22..cf8ab50 100644 --- a/app/controllers/discourse_donations/charges_controller.rb +++ b/app/controllers/discourse_donations/charges_controller.rb @@ -4,6 +4,7 @@ module DiscourseDonations class ChargesController < ApplicationController skip_before_action :verify_authenticity_token, only: [:create] + skip_before_action :check_xhr def create Rails.logger.debug params.inspect