rails 5.1 updates

This commit is contained in:
Min Zeya Phyo
2017-05-22 15:27:34 +06:30
parent d94f9611ad
commit 112fe8b56b
3 changed files with 87 additions and 115 deletions

View File

@@ -61,9 +61,9 @@ Rails.application.routes.draw do
namespace :origami do
root "home#index"
get "/:booking_id" => "home#show" do #origami/:booking_id will show
resources :payments, only: [:index, :create ] #add payment by payment_method
resources :discounts, only: [:index, :create ] #add discount type
resources :customers, only: [:index, :create ] #add customer type
resources :payments, only: [:index, :new, :create ] #add payment by payment_method
resources :discounts, only: [:index,:new, :create ] #add discount type
resources :customers, only: [:index,:new, :create ] #add customer type
end
end