move whole table
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user