diff options
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 |