Sha256: a2f62cdedcf12db4b9f11dcbecd0cdaaef283eed7e17b982d21f086fa0fb95a2
Contents?: true
Size: 363 Bytes
Versions: 1
Compression:
Stored size: 363 Bytes
Contents
Shopper::Engine.routes.draw do resource :cart, only: %i(show update), controller: 'cart' post 'cart/:type/:id', to: 'cart#add_product', as: :cart_add_product resources :order_item, only: :destroy get 'checkout/complete', to: 'checkout#complete', id: 'complete' resources :checkout, only: %i(show update) resources :orders, only: %i(index show) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoppper-0.1.0 | config/routes.rb |