summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-27 20:41:55 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-27 20:41:55 -0600
commitefc5eb10894fc95487c55628b94024e97cd60139 (patch)
tree2e18f71385ce9cc62514ed39b9fbf6420e3ca198 /config
parent35ec25dcb3d57b17a3dc174503b7d20dd4c46e43 (diff)
Añade CardsController
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 249bb71..148abe2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -13,6 +13,7 @@ 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/cards', to: 'cards#index'
put '/account', to: 'user_accounts#update'
resources :companies, only: %i[index show create update]
resources :products, only: %i[index show create update destroy]