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