tap/config/routes.rb

17 lines
369 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-10 01:03:22 +01:00
root "orders#index"
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
resources :orders, only: [:new, :create, :index] do
end
get 'quickpay' => 'orders#quickpay'
2014-12-10 14:18:56 +01:00
get 'dagschotel/:product_id' => 'users#dagschotel', as: "dagschotel"
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-12-10 16:17:55 +01:00
get 'admins' => 'admins#schulden', as: "admins_schulden"
2014-11-06 14:46:59 +01:00
end