From 10ec03fbdfa0c7394c58aa64094c94aeb1887d86 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Fri, 24 Feb 2023 23:26:00 -0600 Subject: Añade método show del controlador de usuarios MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index 45fa051..114d58b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,6 +9,7 @@ Rails.application.routes.draw do post '/refresh_token', to: 'authentications#refresh' post '/authenticate', to: 'authentications#create' delete '/logout', to: 'authentications#destroy' - resources :user_accounts, only: %i[show create] + get '/user_account', to: 'user_accounts#show' + resources :user_accounts, only: %i[create] end end -- cgit v1.2.3