Sha256: adb04e9386da6d52ec55cee845eea9d370716746b0122da2534cacb574011519

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

ShoppingCart::Engine.routes.draw do
  resources :order_items, only: %i[create update destroy]
  resource :cart, only: %i[show update]
  resources :orders, only: %i[index show]
  resources :checkouts
  scope '/settings' do
    resource :address, only: :update
    get '/address', to: 'addresses#edit'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loker-shopping-cart-0.1.3 config/routes.rb
loker-shopping-cart-0.1.2 config/routes.rb
loker-shopping-cart-0.1.1 config/routes.rb