From f0affaf3f2cb66e34cee598b657ce9d57a3caaca Mon Sep 17 00:00:00 2001 From: Thein Lin Kyaw Date: Fri, 31 Jan 2020 14:05:26 +0630 Subject: [PATCH] skip authenticate shops --- app/controllers/api/shops_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/shops_controller.rb b/app/controllers/api/shops_controller.rb index fc2e6fcb..b41fe03d 100644 --- a/app/controllers/api/shops_controller.rb +++ b/app/controllers/api/shops_controller.rb @@ -1,4 +1,5 @@ class Api::ShopsController < Api::ApiController + skip_before_action :authenticate, only: [:index, :show] skip_before_action :set_current_tenant_by_subdomain_or_name, only: [:index, :show] def index