update create order function

This commit is contained in:
Aung Myo
2017-08-25 18:55:34 +06:30
parent a043a33ca5
commit 2522950019
3 changed files with 362 additions and 274 deletions

View File

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

View File

@@ -11,6 +11,7 @@ class Origami::AddordersController < BaseOrigamiController
def show
@menu = MenuCategory.all
@table_id = params[:id]
@table_type = DiningFacility.find(@table_id).type
end
private