remove get_tax_profiles from api_controller and create tax_profiles api
This commit is contained in:
@@ -50,7 +50,11 @@ scope "(:locale)", locale: /en|mm/ do
|
||||
post 'authenticate' => "authenticate#create"
|
||||
delete 'authenticate' => "authenticate#destroy"
|
||||
get "menu_item_groups" => "menu_item_groups#index"
|
||||
get 'get_tax_profiles' => 'api#get_tax_profiles'
|
||||
|
||||
scope '/(:group_type)', defaults: { group_type: nil } do
|
||||
resources :tax_profiles, only: [:index]
|
||||
end
|
||||
|
||||
namespace :restaurant do
|
||||
get 'zones' => "zones#index"
|
||||
resources :menu, only: [:index, :show]
|
||||
@@ -69,7 +73,6 @@ scope "(:locale)", locale: /en|mm/ do
|
||||
post "bill/:booking_id" => "bill#create"
|
||||
post "move" => "move#create"
|
||||
|
||||
|
||||
#Order Controller
|
||||
resources :orders, only: [:create, :show, :update] do
|
||||
post "bill" => "bill#create"
|
||||
|
||||
Reference in New Issue
Block a user