From 8efd488d15a96ba20440bb1770e36c60c8f759cb Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Fri, 27 Dec 2019 20:36:13 +0800 Subject: [PATCH] log --- app/controllers/concerns/laboratory_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/laboratory_helper.rb b/app/controllers/concerns/laboratory_helper.rb index 8044ce67c..d1523abc8 100644 --- a/app/controllers/concerns/laboratory_helper.rb +++ b/app/controllers/concerns/laboratory_helper.rb @@ -11,7 +11,7 @@ module LaboratoryHelper def current_laboratory @_current_laboratory ||= (Laboratory.find_by_subdomain(request.subdomain) || Laboratory.find(1)) - # Rails.logger.info("current_laboratory is ######{@_current_laboratory.try(:identifier)}, domain is #{request.subdomain}") + Rails.logger.info("current_laboratory domain is #{request.subdomain}") end def default_laboratory