From d1baaaa78feeb309625cf1e8b02e236969fe5a8a Mon Sep 17 00:00:00 2001 From: phyusin Date: Thu, 10 May 2018 12:48:00 +0630 Subject: [PATCH] remove comment --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 1a9edf61..4ad2b6c2 100755 --- a/config/routes.rb +++ b/config/routes.rb @@ -239,7 +239,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', to: "addorders#detail" post '/:addorders/create' => "addorders#create",:as => "addorder_create", :defaults => { :format => 'json' }