summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8c671ff..af97ac4 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -13,6 +13,9 @@ Rails.application.routes.draw do
post '/account/addresses', to: 'addresses#create'
put '/account/addresses/:id', to: 'addresses#update'
delete '/account/addresses/:id', to: 'addresses#destroy'
+ get '/account/cart', to: 'carts#show'
+ post '/account/cart', to: 'carts#create'
+ delete '/account/cart/:id', to: 'carts#destroy'
get '/account/cards', to: 'cards#index'
post '/account/cards', to: 'cards#create'
put '/account/cards/:id', to: 'cards#update'