Sha256: cd44e520203940f4707e62a820e07337cec6ea2fb51cf7022b8f2eedeee7f445

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

Comable::Engine.routes.draw do
  get '/' => 'products#index'

  resources :products

  resource :cart do
    collection do
      post :add
    end
  end

  resource :order do
    collection do
      get :orderer
      post :orderer
      get :delivery
      post :delivery
      get :confirm
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comable-0.0.2 config/routes.rb
comable-0.0.1 config/routes.rb