Sha256: ff751144bb15fb9084b32756784f7267d3e1b5c297234f0ca1bd4a28fc6f7569

Contents?: true

Size: 256 Bytes

Versions: 2

Compression:

Stored size: 256 Bytes

Contents

Workarea::Storefront::Engine.routes.draw do
  scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
    resource :cart, only: :show do
      post :share, to: 'carts#share'
      get 'from/:token', as: :from, to: 'carts#from'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-cart_sharing-1.0.2.pre config/routes.rb
workarea-cart_sharing-1.0.1.pre config/routes.rb