order api - WIP & db structure change
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user