Sha256: c10ecc827c8ce1bf4b679c285d0ac56b40487d1e28f7279d1b01edc0dd530b41
Contents?: true
Size: 1.3 KB
Versions: 6
Compression:
Stored size: 1.3 KB
Contents
Shoppe::Engine.routes.draw do get 'attachment/:id/:filename.:extension' => 'attachments#show' resources :customers do post :search, :on => :collection resources :addresses end resources :product_categories do resources :localisations, controller: "product_category_localisations" end resources :products do resources :variants resources :localisations, controller: "product_localisations" collection do get :import post :import end end resources :orders do collection do post :search end member do post :accept post :reject post :ship get :despatch_note end 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 :countries 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
6 entries across 6 versions & 2 rubygems