Sha256: 07c05e0feed7f4a971ef3bc9b50e7aa761afec7ee931f0c9158137eae8a29364

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

map.namespace :admin do |admin|
  admin.resources :shipments
  admin.resources :shipping_methods
  admin.resources :shipping_categories  
  admin.resources :orders, :has_many => :shipments
end  
#map.resources :shipments, :member => {:shipping_method => :any}
map.resources :orders, :member => {:fatal_shipping => :get} do |order|
  order.resources :shipments, :member => {:shipping_method => :get}
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-0.6.0 vendor/extensions/shipping/config/routes.rb
spree-0.7.1 vendor/extensions/shipping/config/routes.rb
spree-0.7.0 vendor/extensions/shipping/config/routes.rb