Inherit from the application controller
This commit is contained in:
parent
c2fa248b79
commit
38689a59d5
|
|
@ -1,11 +1,7 @@
|
||||||
require_dependency 'discourse'
|
require_dependency 'discourse'
|
||||||
|
|
||||||
module DiscourseDonations
|
module DiscourseDonations
|
||||||
class CheckoutController < ActionController::Base
|
class CheckoutController < ApplicationController
|
||||||
include CurrentUser
|
|
||||||
|
|
||||||
protect_from_forgery prepend: true
|
|
||||||
protect_from_forgery with: :exception
|
|
||||||
|
|
||||||
skip_before_action :verify_authenticity_token, only: [:create]
|
skip_before_action :verify_authenticity_token, only: [:create]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue