This commit is contained in:
Myat Zin Wai Maw
2020-01-22 14:26:14 +06:30
parent 0df7357cc9
commit fae91f701b
6 changed files with 18 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
class Api::ShopsController < Api::ApiController
skip_before_action :set_current_tenant_by_subdomain_or_first
skip_before_action :set_current_tenant_by_subdomain_or_first, only: [:index, :show]
def index
@shops = Shop.select('id,logo,name,shop_code,address,phone_no').all