Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 

13 wiersze
308 B

  1. Rails.application.routes.draw do
  2. resources :orders
  3. resources :line_items
  4. resources :carts
  5. root 'store#index', as: 'store_index'
  6. resources :products do
  7. get :who_bought, on: :member
  8. end
  9. # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  10. end