merge with origin master
This commit is contained in:
@@ -96,14 +96,15 @@ class Api::OrdersController < Api::ApiController
|
||||
end
|
||||
end
|
||||
|
||||
@status, @booking = @order.generate
|
||||
@status, @booking = @order.generate
|
||||
end
|
||||
|
||||
# render json for http status code
|
||||
def return_json_status_with_code(code, msg)
|
||||
render status: code, json: {
|
||||
message: msg
|
||||
}.to_json
|
||||
message: msg,
|
||||
booking_id: booking_id
|
||||
}.to_json
|
||||
end
|
||||
|
||||
def check_order_with_table(table_id)
|
||||
|
||||
Reference in New Issue
Block a user