update add order cache menu

This commit is contained in:
Aung Myo
2018-05-10 14:28:28 +06:30
parent 1a56109d66
commit 7b5c04c797
8 changed files with 83 additions and 59 deletions

View File

@@ -238,7 +238,7 @@ scope "(:locale)", locale: /en|mm/ do
get '/addorders/get_menu_sub_category/:id' => "addorders#get_menu_sub_category",:as => "get_menu_sub_category", :defaults => { :format => 'json' }
get '/addorders/products/list' => "addorders#get_all_product",:as => "get_all_product", :defaults => { :format => 'json' }
match '/:addorders/:id' => "addorders#detail", via: [:post, :get]
get '/:addorders/:id' => "addorders#detail"
post '/:addorders/create' => "addorders#create",:as => "addorder_create", :defaults => { :format => 'json' }