|
|
@ -3,7 +3,7 @@ require 'base64'
|
|
|
|
class TrainingsController < ApplicationController
|
|
|
|
class TrainingsController < ApplicationController
|
|
|
|
wechat_responder
|
|
|
|
wechat_responder
|
|
|
|
|
|
|
|
|
|
|
|
skip_before_filter :verify_signature, only: [:show, :create, :test]
|
|
|
|
skip_before_filter :verify_signature, only: [:show, :create, :update, :test, :enroll]
|
|
|
|
|
|
|
|
|
|
|
|
ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://#{Setting.host_name}"
|
|
|
|
ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://#{Setting.host_name}"
|
|
|
|
|
|
|
|
|
|
|
|