Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 304 Bytes
Pizzaria::Application.routes.draw do |map|
resources :products
resources :orders
resource :cart do
get :checkout, :payment
post :confirm, :process_payment
resources :items
end
devise_for :users, :controllers => { :sessions => "sessions" }
root :to => "products#index"
end