From efc5eb10894fc95487c55628b94024e97cd60139 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Mon, 27 Mar 2023 20:41:55 -0600 Subject: AƱade CardsController MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config') 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] -- cgit v1.2.3