From 5c899df07753a31543f8dad725a26ccddc44dfe2 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Mon, 13 Mar 2023 19:48:40 -0600 Subject: Añade método update a UserAccountsController 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 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] -- cgit v1.2.3