|
|
@ -6,7 +6,7 @@ class TrainingsController < ApplicationController
|
|
|
|
skip_before_filter :check_if_login_required
|
|
|
|
skip_before_filter :check_if_login_required
|
|
|
|
skip_before_filter :verify_signature, except: [:auth, :auth_callback, :pay_callback]
|
|
|
|
skip_before_filter :verify_signature, except: [:auth, :auth_callback, :pay_callback]
|
|
|
|
|
|
|
|
|
|
|
|
ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://#{Setting.host_name}"
|
|
|
|
ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://engineer.educoder.net"
|
|
|
|
|
|
|
|
|
|
|
|
before_filter :authenticate, except: [:auth, :auth_callback, :pay_callback]
|
|
|
|
before_filter :authenticate, except: [:auth, :auth_callback, :pay_callback]
|
|
|
|
|
|
|
|
|
|
|
|