This commit is contained in:
Nweni
2019-11-19 18:15:25 +06:30
parent aad153a4ef
commit fd57d89799
3 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
class Api::OrdersController < Api::ApiController
# skip_before_action :authenticate
skip_before_action :authenticate
#Description
# This API show current order details
# Input Params - order_id

View File

@@ -8,7 +8,8 @@ class Api::Restaurant::MenuController < Api::ApiController
param_checksum = params[:checksum]
# checksum = File.readlines("public/checksums/menu_json.txt").pop.chomp
all_menu = Menu.active.all
shop_code = params[:shop_code]
all_menu = Menu.where('shop_id=?',shop_code).active.all
@request_url = ''
if ENV["SERVER_MODE"] == "cloud"
@request_url = request.base_url

BIN
dump.rdb

Binary file not shown.