From 4be9b82e262809337d3c869559adfa2b38be5246 Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Fri, 27 Dec 2019 20:38:35 +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 d1523abc8..8abb4c7d4 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 domain is #{request.subdomain}") + Rails.logger.info("current_laboratory is ######{@_current_laboratory.try(:identifier)}") end def default_laboratory