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'm not sure if it's the right think to do, but I usually do the respond_to :json in routes.rb with namespace :api, path: nil, defaults: { format: 'json' } do
Hello
For API's using respond_to requires including the Mime parser, which is not needed most of the times.
Would suggest getting rid of this string:
respond_to :json
in
devise_token_auth / app / controllers / devise_token_auth / application_controller.rb
The text was updated successfully, but these errors were encountered: