dev_tpm_ui
jingquan huang 5 years ago
parent 14d05d10a6
commit 896840cac3

@ -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 is ######{@_current_laboratory.try(:identifier)}, domain is #{request.subdomain}")
end
def default_laboratory

Loading…
Cancel
Save