Sha256: 1835ca3bb91f43fecb7735f70ae43e6ff1a3964c1c95ce6e79371b6cc70e765d

Contents?: true

Size: 735 Bytes

Versions: 19

Compression:

Stored size: 735 Bytes

Contents

#########################
#### eCommerce Stuff ####
#########################
resources :products, :except => [:show] do
  post 'reorder', :on => :collection
end

resources :product_categories, :except => [:show, :new] do
  post    'reorder', :on => :collection
end

resources :orders do
 put     'fulfill', :on => :member
 put     'unfulfill', :on => :member
end

resources :sales, :except => [:show] do
  get 'products', :on => :collection
end

resources :tax_rates, :except => [:show, :new]

resources :countries, :only => [:index, :update] do
  member do
    get 'get_provinces'
  end
  collection do
    get 'get_active_countries'
  end
end
#############################
#### End eCommerce Stuff ####
#############################

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.9 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.8 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.7 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.6 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.5 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.4 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.3 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.2 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.1 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.1.0 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.0.18 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.0.17 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.0.16 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.0.15 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.0.14 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.0.13 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.0.12 lib/forge-cli/modules/ecommerce/forge_routes.rb
forge-cli-0.0.11 lib/forge-cli/modules/ecommerce/forge_routes.rb