-
This commit is contained in:
@@ -12,7 +12,8 @@ module MultiTenancy
|
|||||||
shop_code = request.subdomain.partition('-').last
|
shop_code = request.subdomain.partition('-').last
|
||||||
@shop = Shop.find_by(shop_code: shop_code)
|
@shop = Shop.find_by(shop_code: shop_code)
|
||||||
else
|
else
|
||||||
@shop = Shop.first
|
# @shop = Shop.first
|
||||||
|
@shop = Shop.find_by(shop_code: '262')
|
||||||
end
|
end
|
||||||
set_current_tenant(@shop)
|
set_current_tenant(@shop)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user