super-graph/examples/rails-app/config/routes.rb
2019-10-05 00:49:39 -04:00

11 lines
288 B
Ruby

Rails.application.routes.draw do
devise_for :customers
devise_for :users
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