rails 5.1 updates
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user