diff --git a/app/controllers/concerns/laboratory_helper.rb b/app/controllers/concerns/laboratory_helper.rb index e03273d68..cd22dfe5d 100644 --- a/app/controllers/concerns/laboratory_helper.rb +++ b/app/controllers/concerns/laboratory_helper.rb @@ -11,6 +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}, domain is #{request.subdomains}") end def default_laboratory