Sha256: 37870dfba13f18711bc139176e2eaf090168b35a0c76c54fb4456262f5c4c29f
Contents?: true
Size: 584 Bytes
Versions: 5
Compression:
Stored size: 584 Bytes
Contents
Rails.application.routes.draw do namespace :tb_checkout, :path => '/' do get 'cart' => 'carts#show' resources :cart_items, :only => [:create, :update, :destroy] resources :transactions, :path => 'orders', :only => [:index, :show] resources :transactions, :path => 'checkout', :only => [:new, :create], :path_names => {:new => '/'} do get :confirm, :on => :member patch :capture, :on => :member end namespace :admin do resources :carts, :only => [:index, :show] resources :transactions, :only => [:index, :show] end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
tb_checkout-1.0.7 | config/routes.rb |
tb_checkout-1.0.6 | config/routes.rb |
tb_checkout-1.0.5 | config/routes.rb |
tb_checkout-1.0.4 | config/routes.rb |
tb_checkout-1.0.3 | config/routes.rb |