From 33230f933454e64436dddb906d53512f97a60ce1 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Fri, 3 Mar 2023 21:25:38 -0600 Subject: Arregla algunos métodos de controladores MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index b3b67a8..1728bcc 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,7 +8,7 @@ Rails.application.routes.draw do namespace :api do post '/login', to: 'sessions#create' delete '/logout', to: 'sessions#destroy' - get '/user_account', to: 'user_accounts#show' + get '/account', to: 'user_accounts#show' resources :user_accounts, only: %i[create] resources :refresh_tokens, only: %i[create] end -- cgit v1.2.3