Sha256: 414bc6bb3972f66fa3f3a1c2bd228da6b9e122a8d13d4e3b8bbb85eb6edb5e51
Contents?: true
Size: 1015 Bytes
Versions: 34
Compression:
Stored size: 1015 Bytes
Contents
Rails.application.routes.draw do namespace :admin do resources :users do member do put :generate_api_key put :clear_api_key end end end namespace :api do resources :shipments, :except => [:new,:edit] do put :event, :on => :member resources :inventory_units, :except => [:new,:edit] do put :event, :on => :member end end resources :orders, :except => [:new,:edit] do put :event, :on => :member resources :shipments, :except => [:new,:edit] resources :line_items, :except => [:new,:edit] resources :inventory_units, :except => [:new,:edit] do put :event, :on => :member end end resources :inventory_units, :except => [:new,:edit] do put :event, :on => :member end resources :products, :except => [:new,:edit] resources :countries, :except => [:new,:edit] do resources :states, :except => [:new,:edit] end resources :states, :except => [:new,:edit] end end
Version data entries
34 entries across 34 versions & 2 rubygems