Include stripe js && inherit from the application controller
This commit is contained in:
parent
d563cd1ddd
commit
c2fa248b79
|
@ -1,11 +1,7 @@
|
|||
require_dependency 'discourse'
|
||||
|
||||
module DiscourseDonations
|
||||
class ChargesController < ActionController::Base
|
||||
include CurrentUser
|
||||
|
||||
protect_from_forgery prepend: true
|
||||
protect_from_forgery with: :exception
|
||||
class ChargesController < ApplicationController
|
||||
|
||||
skip_before_action :verify_authenticity_token, only: [:create]
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue