8 lines
107 B
Ruby
8 lines
107 B
Ruby
if @shops
|
|
json.status true
|
|
json.data @shops
|
|
else
|
|
json.status false
|
|
json.message "Record Not Found"
|
|
end
|