Sha256: e73d5573b34ddb3bee822cf54daea1fe1bba14109f434e35e8c89491ffd89f08
Contents?: true
Size: 515 Bytes
Versions: 5
Compression:
Stored size: 515 Bytes
Contents
Locomotive::Ecommerce::Engine.routes.draw do resources :cart, :only => [:update] resources :checkout, :controller => "purchase", :only => [:create, :update] match "add_to_cart/:product_id" => "order#create", :via => :post, :as => "add_to_cart" match "remove_from_cart/:product_id" => "order#destroy", :via => :delete, :as => "remove_from_cart" match "push_orders" => "purchase#push", :via => :get, :as => "push_orders" mount StripeHelper::Engine => "/" end
Version data entries
5 entries across 5 versions & 1 rubygems