origami changes

This commit is contained in:
Nweni
2017-06-20 07:36:38 +06:30
parent 2cc8d2c00c
commit a71ee3657a
18 changed files with 1199 additions and 817 deletions

View File

@@ -72,7 +72,8 @@ Rails.application.routes.draw do
#--------- Cashier ------------#
namespace :origami do
root "home#index"
get "/:booking_id" => "home#index" do #origami/:booking_id will show
get "/: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