fix coinbase callback
This commit is contained in:
@@ -2,6 +2,7 @@ class UserUpgradesController < ApplicationController
|
|||||||
before_filter :member_only, :only => [:new, :show]
|
before_filter :member_only, :only => [:new, :show]
|
||||||
helper_method :encrypt_custom, :coinbase
|
helper_method :encrypt_custom, :coinbase
|
||||||
force_ssl :if => :ssl_enabled?
|
force_ssl :if => :ssl_enabled?
|
||||||
|
skip_before_action :verify_authenticity_token, only: [:create]
|
||||||
|
|
||||||
def create
|
def create
|
||||||
if params[:order][:status] == "completed"
|
if params[:order][:status] == "completed"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ module Danbooru
|
|||||||
class Configuration
|
class Configuration
|
||||||
# The version of this Danbooru.
|
# The version of this Danbooru.
|
||||||
def version
|
def version
|
||||||
"2.65.2"
|
"2.65.3"
|
||||||
end
|
end
|
||||||
|
|
||||||
# The name of this Danbooru.
|
# The name of this Danbooru.
|
||||||
|
|||||||
Reference in New Issue
Block a user