Sha256: 2cd0309cda2125529b37d5c40bffe46088dd17a328ba5b0755db5077845c8906
Contents?: true
Size: 501 Bytes
Versions: 2
Compression:
Stored size: 501 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 => '/'} namespace :admin do resources :carts, :only => [:index, :show] resources :transactions, :only => [:index, :show] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tb_checkout-1.1.1 | config/routes.rb |
tb_checkout-1.1.0 | config/routes.rb |