Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
Yan
2017-06-22 09:53:04 +06:30
17 changed files with 280 additions and 56 deletions

View File

@@ -44,10 +44,9 @@ Rails.application.routes.draw do
#Order Controller
resources :orders, only: [:create, :show, :update] do
post "bill" => "bill#create"
end
get 'view_orders' => "orders#view_orders"
#Current active bookings
resources :bookings, only: [:index, :show, :create, :update]