diff --git a/app/controllers/cooperative/base_controller.rb b/app/controllers/cooperative/base_controller.rb index e77de3e23..51af05ed2 100644 --- a/app/controllers/cooperative/base_controller.rb +++ b/app/controllers/cooperative/base_controller.rb @@ -16,8 +16,8 @@ class Cooperative::BaseController < ApplicationController private def current_laboratory - # @_current_laboratory ||= Laboratory.find_by_subdomain(request.subdomain) - @_current_laboratory ||= Laboratory.find 1 + @_current_laboratory ||= Laboratory.find_by_subdomain(request.subdomain) + # @_current_laboratory ||= Laboratory.find 1 end def current_setting_or_default(name)