diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-14 20:25:53 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-14 20:25:53 -0600 |
commit | 5130f549452ead2402a782cbd54667020f196379 (patch) | |
tree | 2c861cf19c18174e68cd2091509fcc37adeb93cb /config | |
parent | 2dd455d48954d087fc1fa7b2944e87bdaf7c1bab (diff) |
Añade esqueleto de ProductsController
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 1abb376..06c5a88 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,6 +11,7 @@ Rails.application.routes.draw do get '/account', to: 'user_accounts#show' put '/account', to: 'user_accounts#update' resources :companies, only: %i[index show create update] + resources :products, only: %i[index show create update destroy] resources :user_accounts, only: %i[create] resources :refresh_tokens, only: %i[create] end |