You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is a problem in my generated routes. When I run rake routes, I get : destroy_api_user_session GET /api/auth/sign_out(.:format) api/sessions#destroy
Shouldn't destroy_api_user_session be a DELETE route ?
I defined routes like this :
namespace :api do
mount_devise_token_auth_for 'User', at: 'auth', controllers: {
sessions: 'api/sessions'
}
end
The text was updated successfully, but these errors were encountered:
Hi there !
I think there is a problem in my generated routes. When I run rake routes, I get :
destroy_api_user_session GET /api/auth/sign_out(.:format) api/sessions#destroy
Shouldn't destroy_api_user_session be a DELETE route ?
I defined routes like this :
The text was updated successfully, but these errors were encountered: