tap/config/routes.rb
2014-12-09 22:32:54 +01:00

12 lines
189 B
Ruby

Rails.application.routes.draw do
root "orders#overview"
devise_for :users
resources :users do
resources :orders, only: [:new, :create, :index]
end
resources :products
end