add print job for qr pay
This commit is contained in:
@@ -13,11 +13,11 @@ module MultiTenancy
|
||||
end
|
||||
|
||||
def find_tenant_by_subdomain_or_name
|
||||
if request.subdomains.first && request.subdomains.first != "www"
|
||||
set_current_tenant(Shop.find_by(subdomain: request.subdomains.first))
|
||||
elsif Shop.count == 1
|
||||
# if request.subdomains.first && request.subdomains.first != "www"
|
||||
# set_current_tenant(Shop.find_by(subdomain: request.subdomains.first))
|
||||
# elsif Shop.count == 1
|
||||
set_current_tenant(Shop.first)
|
||||
end
|
||||
# end
|
||||
end
|
||||
|
||||
def not_found
|
||||
|
||||
Reference in New Issue
Block a user