Sha256: 0347ae04e5cd74ffac791eb91064f28f439cd8f14e066a5ee876218be8137f9e

Contents?: true

Size: 699 Bytes

Versions: 5

Compression:

Stored size: 699 Bytes

Contents

Shoppe::Engine.routes.draw do
  
  get 'attachment/:id/:filename.:extension' => 'attachments#show'
  resources :product_categories
  resources :products
  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 :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

5 entries across 5 versions & 1 rubygems

Version Path
shoppe-0.0.9 config/routes.rb
shoppe-0.0.8 config/routes.rb
shoppe-0.0.7 config/routes.rb
shoppe-0.0.6 config/routes.rb
shoppe-0.0.5 config/routes.rb