diff options
author | HombreLaser <sebastian-440@live.com> | 2023-02-26 20:20:02 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-02-26 20:20:02 -0600 |
commit | 4a1faf270ae328a1a28d9f8f54d9a96ed41a1542 (patch) | |
tree | cad4a32a4b1c72fa6bfffeb77fc6fc0fdeba22c8 /config | |
parent | c86a5c9e05b183f10a63fb693c8af1d1d5a52e97 (diff) |
Añade métodos de controladores faltantes
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 114d58b..8a789a2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,10 +6,10 @@ Rails.application.routes.draw do # Defines the root path route ("/") # root "articles#index" namespace :api do - post '/refresh_token', to: 'authentications#refresh' post '/authenticate', to: 'authentications#create' delete '/logout', to: 'authentications#destroy' get '/user_account', to: 'user_accounts#show' resources :user_accounts, only: %i[create] + resources :refresh_tokens, only: %i[create] end end |