Add REST API stitching
This commit is contained in:
@ -4,5 +4,7 @@ Rails.application.routes.draw do
|
||||
resources :products
|
||||
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
||||
|
||||
get '/stripe/:id', to: 'stripe#show', as: 'stripe'
|
||||
|
||||
root to: "products#index"
|
||||
end
|
||||
|
Reference in New Issue
Block a user