Sha256: b0a2664bac556f35964f51d440773e33b941321ac99dc55e56dbfc50d3b89a91
Contents?: true
Size: 1.79 KB
Versions: 5
Compression:
Stored size: 1.79 KB
Contents
Spree::Core::Engine.routes.draw do namespace :admin do resources :users do member do put :generate_api_key put :clear_api_key end end end namespace :api, :defaults => { :format => 'json' } do resources :products do resources :variants resources :product_properties end resources :images resources :checkouts do member do put :next put :advance end end resources :variants, :only => [:index, :show] resources :option_types do resources :option_values end resources :orders do resources :addresses, :only => [:show, :update] resources :return_authorizations do member do put :add put :cancel put :receive end end member do put :cancel put :empty end resources :line_items resources :payments do member do put :authorize put :capture put :purchase put :void put :credit end end resources :shipments, :only => [:create, :update] do member do put :ready put :ship put :add put :remove end end end resources :zones resources :countries, :only => [:index, :show] resources :states, :only => [:index, :show] resources :taxonomies do member do get :jstree end resources :taxons do member do get :jstree end end end resources :taxons, :only => [:index] resources :inventory_units, :only => [:show, :update] resources :users resources :properties resources :stock_locations do resources :stock_movements resources :stock_items end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
spree_api-2.0.13 | config/routes.rb |
spree_api-2.0.12 | config/routes.rb |
spree_api-2.0.11 | config/routes.rb |
spree_api-2.0.10 | config/routes.rb |
spree_api-2.0.9 | config/routes.rb |