Sha256: 3a98d08eaf07c85efe5ac3248a0e12a0fd74d5edc0ee5e9760af877c86f9426a
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
Shoppe::Engine.routes.draw do get 'attachment/:id/:filename.:extension' => 'attachments#show' resources :product_categories resources :products do resources :variants end resources :orders do post :search, :on => :collection post :accept, :on => :member post :reject, :on => :member post :ship, :on => :member get :despatch_note, :on => :member resources :payments, :only => [:create, :destroy] do match :refund, :on => :member, :via => [:get, :post] end end resources :stock_level_adjustments, :only => [:index, :create] resources :delivery_services do resources :delivery_service_prices end resources :tax_rates resources :users resources :attachments, :only => :destroy get 'settings'=> 'settings#edit' post 'settings' => 'settings#update' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shoppe-0.0.18 | config/routes.rb |
shoppe-0.0.17 | config/routes.rb |