diff --git a/app/controllers/discourse_donations/checkout_controller.rb b/app/controllers/discourse_donations/checkout_controller.rb index 48435aa..192e239 100644 --- a/app/controllers/discourse_donations/checkout_controller.rb +++ b/app/controllers/discourse_donations/checkout_controller.rb @@ -1,11 +1,7 @@ require_dependency 'discourse' module DiscourseDonations - class CheckoutController < ActionController::Base - include CurrentUser - - protect_from_forgery prepend: true - protect_from_forgery with: :exception + class CheckoutController < ApplicationController skip_before_action :verify_authenticity_token, only: [:create]