summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-13 19:48:40 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-13 19:48:40 -0600
commit5c899df07753a31543f8dad725a26ccddc44dfe2 (patch)
treecc13040e9f859688ec2ec454486528394bbc1cde /config
parent3dae1ce143d006cc75940b746a8eb74982e6e861 (diff)
Añade método update a UserAccountsController
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 0237992..1abb376 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -9,6 +9,7 @@ Rails.application.routes.draw do
post '/login', to: 'sessions#create'
delete '/logout', to: 'sessions#destroy'
get '/account', to: 'user_accounts#show'
+ put '/account', to: 'user_accounts#update'
resources :companies, only: %i[index show create update]
resources :user_accounts, only: %i[create]
resources :refresh_tokens, only: %i[create]