api controller
This commit is contained in:
@@ -4,6 +4,7 @@ class Api::ShopsController < Api::ApiController
|
||||
|
||||
def index
|
||||
@shops = Shop.select('id,logo,name,shop_code,address,phone_no').all
|
||||
# render :json => {:name => "any name"}
|
||||
end
|
||||
|
||||
def show
|
||||
|
||||
Reference in New Issue
Block a user