Sha256: 2770e978fa84ad7ef5eb6c29b45d0d18d22f4ef0bc7b20ac7633c854f84345da

Contents?: true

Size: 406 Bytes

Versions: 2

Compression:

Stored size: 406 Bytes

Contents

Spree::Core::Engine.routes.draw do
  # Add your extension routes here

  namespace :api do
    namespace :v1 do

      resources :products, path: '/ws_product', only: [] do
        get :winkelstraat_stock, on: :collection
        get :winkelstraat_article, on: :collection
      end

      resources :orders, path: '/ws_order',only: [] do
        post :import, on: :collection
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_winkelstraat-3.1.0.21 config/routes.rb
spree_winkelstraat-3.1.0.20 config/routes.rb