From 332feb3066c7e0fd497311424ffe12c557f49fdd Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sun, 21 May 2023 10:00:50 -0600 Subject: Corrige errores en AddressesController --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config') 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' -- cgit v1.2.3