|
|
|
@ -5,10 +5,10 @@ class TrainingsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
skip_before_filter :verify_signature, only: [:show, :create, :test]
|
|
|
|
|
|
|
|
|
|
# ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://#{Setting.host_name}"
|
|
|
|
|
#
|
|
|
|
|
# before_filter :authenticate, except: [:auth, :auth_callback, :pay_callback]
|
|
|
|
|
#
|
|
|
|
|
ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://#{Setting.host_name}"
|
|
|
|
|
|
|
|
|
|
before_filter :authenticate, except: [:auth, :auth_callback, :pay_callback]
|
|
|
|
|
|
|
|
|
|
before_filter :find_tag_id
|
|
|
|
|
|
|
|
|
|
before_filter :find_training, only: [:show, :test]
|
|
|
|
|