From 2ea1c0d43c71d44c208e1724af458f9d49af92db Mon Sep 17 00:00:00 2001 From: Jasder <2053003901@@qq.com> Date: Tue, 11 Feb 2020 14:38:46 +0800 Subject: [PATCH] FIX bug --- app/controllers/oauth/base_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/oauth/base_controller.rb b/app/controllers/oauth/base_controller.rb index 11ac69d71..548b57922 100644 --- a/app/controllers/oauth/base_controller.rb +++ b/app/controllers/oauth/base_controller.rb @@ -2,7 +2,7 @@ class Oauth::BaseController < ActionController::Base include RenderHelper include LoginHelper include ControllerRescueHandler - include LaboratoryHelper + # include LaboratoryHelper skip_before_action :verify_authenticity_token @@ -30,4 +30,4 @@ class Oauth::BaseController < ActionController::Base @_default_yun_session = "#{request.subdomain.split('.').first}_user_id" # @_default_yun_session = "#{current_laboratory.try(:identifier).split('.').first}_user_id" end -end \ No newline at end of file +end