From 358f22af86008493ea9efff896030168e2c1b9cf Mon Sep 17 00:00:00 2001 From: r888888888 Date: Sat, 29 Nov 2014 11:31:42 -0800 Subject: [PATCH] fix coinbase callback --- app/controllers/user_upgrades_controller.rb | 1 + config/danbooru_default_config.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/user_upgrades_controller.rb b/app/controllers/user_upgrades_controller.rb index 235fd81f7..80b3dbb68 100644 --- a/app/controllers/user_upgrades_controller.rb +++ b/app/controllers/user_upgrades_controller.rb @@ -2,6 +2,7 @@ class UserUpgradesController < ApplicationController before_filter :member_only, :only => [:new, :show] helper_method :encrypt_custom, :coinbase force_ssl :if => :ssl_enabled? + skip_before_action :verify_authenticity_token, only: [:create] def create if params[:order][:status] == "completed" diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index 4f077ee1c..bc5c7e085 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -4,7 +4,7 @@ module Danbooru class Configuration # The version of this Danbooru. def version - "2.65.2" + "2.65.3" end # The name of this Danbooru.