updat e addorder for product add

This commit is contained in:
Aung Myo
2017-10-10 18:05:09 +06:30
parent e039b8adba
commit 50756656a7
7 changed files with 154 additions and 8 deletions

View File

@@ -181,6 +181,7 @@ Rails.application.routes.draw do
get '/:addorders/:id' => "addorders#detail"
post '/:addorders/create' => "addorders#create", :defaults => { :format => 'json' }
get '/addorders/get_menu_category/:id' => "addorders#get_menu_category",:as => "get_menu_category", :defaults => { :format => 'json' }
get '/addorders/products/list' => "addorders#get_all_product",:as => "get_all_product", :defaults => { :format => 'json' }
resources :commissions
resources :commissioners