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