Sha256: bc3a37d7aea760dcd600bd89349f359df2e686095626f366ac5b02c7518bf52c
Contents?: true
Size: 794 Bytes
Versions: 4
Compression:
Stored size: 794 Bytes
Contents
Shoppe::Engine.routes.draw do get 'attachment/:id/:filename.:extension' => 'attachments#show' resources :product_categories resources :products do match :stock_levels, :on => :member, :via => [:get, :post] end resources :orders do post :search, :on => :collection post :accept, :on => :member post :reject, :on => :member post :ship, :on => :member post :pay, :on => :member end resources :delivery_services do resources :delivery_service_prices end resources :tax_rates resources :users resources :attachments, :only => :destroy get 'login' => 'sessions#new' post 'login' => 'sessions#create' match 'login/reset' => 'sessions#reset', :via => [:get, :post] delete 'logout' => 'sessions#destroy' root :to => 'dashboard#home' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
shoppe-0.0.14 | config/routes.rb |
shoppe-0.0.13 | config/routes.rb |
shoppe-0.0.12 | config/routes.rb |
shoppe-0.0.11 | config/routes.rb |