diff options
author | HombreLaser <sebastian-440@live.com> | 2023-05-21 10:00:50 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-05-21 10:00:50 -0600 |
commit | 332feb3066c7e0fd497311424ffe12c557f49fdd (patch) | |
tree | e3d08885e62331120a880e79a7b2bd89e2070988 /config | |
parent | ab605e6d31f637e8b1cea15dd7fc929cd7e51919 (diff) |
Corrige errores en AddressesController
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
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' |