super-graph/rails-app/config/routes.rb
2019-05-12 19:27:26 -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