tap/config/routes.rb

13 lines
189 B
Ruby
Raw Normal View History

2014-11-06 14:46:59 +01:00
Rails.application.routes.draw do
2014-11-10 15:52:54 +01:00
2014-12-08 17:56:48 +01:00
root "orders#overview"
2014-11-10 15:52:54 +01:00
2014-12-09 17:17:11 +01:00
devise_for :users
2014-12-09 22:32:54 +01:00
resources :users do
2014-12-06 12:03:08 +01:00
resources :orders, only: [:new, :create, :index]
2014-11-25 15:27:12 +01:00
end
2014-11-06 18:30:53 +01:00
2014-11-25 15:27:12 +01:00
resources :products
2014-11-06 14:46:59 +01:00
end