diff --git a/app/controllers/api/shops_controller.rb b/app/controllers/api/shops_controller.rb index 350b30cd..7c264f83 100644 --- a/app/controllers/api/shops_controller.rb +++ b/app/controllers/api/shops_controller.rb @@ -1,6 +1,6 @@ class Api::ShopsController < Api::ApiController - skip_before_action :authenticate, only: [:index] - skip_before_action :set_current_tenant_by_subdomain_or_name, only: [:index] + skip_before_action :authenticate, only: [:index, :show] + skip_before_action :set_current_tenant_by_subdomain_or_name, only: [:index, :show] def index @shops = Shop.select('id, logo, name, shop_code').where.not(cloud_url: nil).all