update multi_tenancy
This commit is contained in:
@@ -12,6 +12,6 @@ class Shop < ApplicationRecord
|
||||
end
|
||||
|
||||
def self.current_shop
|
||||
RequestStore["current_shop"] ||= ActsAsTenant.current_tenant || Shop.first
|
||||
ActsAsTenant.current_tenant
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user