order api - WIP & db structure change

This commit is contained in:
Min Zeya Phyo
2017-04-04 12:18:17 +06:30
parent aba3e52d0b
commit bcdce092cc
21 changed files with 120 additions and 130 deletions

View File

@@ -13,8 +13,15 @@ Rails.application.routes.draw do
namespace :restaurant do
get 'zones' => "zones#index"
get 'tables' => "#index"
#Order Controller
resources :orders, only: [:create, :show, :update]
end
resources :customers, only: [:index, :show, :create]
end