Sha256: a1d74c59cb5aa844b14ecc7075c72a3a5c7811284cee69e6e24bd178ae5aaac1
Contents?: true
Size: 489 Bytes
Versions: 4
Compression:
Stored size: 489 Bytes
Contents
Rails.application.routes.draw do match '/cart', :via => :get, :to => 'cart#index' match '/cart', :via => :put, :to => 'cart#update' match '/cart', :via => :delete, :to => 'cart#destroy' match '/order-confirmation', :via => :get, :to => 'cart#confirmation', :as => 'order_confirmation' resources :payment_notifications match '/products/search' => 'products#search' resources :products do resources :photos end match '/p/*path' => 'products#by_permalink' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ecommerce-0.0.6 | config/routes.rb |
ecommerce-0.0.5 | config/routes.rb |
ecommerce-0.0.4 | config/routes.rb |
ecommerce-0.0.3 | config/routes.rb |