menu, table,rooms, orders structure

This commit is contained in:
Min Zeya Phyo
2017-04-03 21:26:22 +06:30
parent 40423c12d3
commit 30b4a0f5ff
60 changed files with 536 additions and 101 deletions

View File

@@ -1,9 +1,16 @@
Rails.application.routes.draw do
namespace :api, :defaults => { :format => 'json' } do
#Session Login and Logout
post 'autheticate' => "autheticate#create"
delete 'autheticate' => "autheticate#destroy"
namespace :restaurant do
get 'zones' => "zones#index"
get 'seat_tables' => "seat_tables#index"
get 'tables' => "#index"
end
end
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html