move whole table

This commit is contained in:
Nweni
2017-06-21 05:36:58 +06:30
parent f69bee9b03
commit fa309fb89a
12 changed files with 558 additions and 8 deletions

View File

@@ -73,10 +73,13 @@ Rails.application.routes.draw do
namespace :origami do
root "home#index"
get "table/:dining_id" => "home#show" do #origami/:booking_id will show
# resources :discounts, only: [:index,:new, :create ] #add discount type
resources :customers #add customer type
end
post 'moving' => "movetable#moving"
get 'table/:dining_id/movetable' => "movetable#move_dining"
get 'table/:dining_id/moveroom' => "moveroom#move_dining"
get 'sale/:sale_id' => 'sales#show'
get 'room/:room_id' => 'rooms#show'
get 'order/:order_id' => "orders#show"