{"action":"opened","issue":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/713","repository_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth","labels_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/713/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/713/comments","events_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/713/events","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/713","id":173581671,"number":713,"title":"/sign_out route is returning 404 not found","user":{"login":"dnlsandiego","id":8008023,"avatar_url":"https://avatars.githubusercontent.com/u/8008023?v=3","gravatar_id":"","url":"https://api.github.com/users/dnlsandiego","html_url":"https://github.com/dnlsandiego","followers_url":"https://api.github.com/users/dnlsandiego/followers","following_url":"https://api.github.com/users/dnlsandiego/following{/other_user}","gists_url":"https://api.github.com/users/dnlsandiego/gists{/gist_id}","starred_url":"https://api.github.com/users/dnlsandiego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnlsandiego/subscriptions","organizations_url":"https://api.github.com/users/dnlsandiego/orgs","repos_url":"https://api.github.com/users/dnlsandiego/repos","events_url":"https://api.github.com/users/dnlsandiego/events{/privacy}","received_events_url":"https://api.github.com/users/dnlsandiego/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-27T06:44:21Z","updated_at":"2016-08-27T06:44:21Z","closed_at":null,"body":"I currently have a Rails 5 app that's in API mode using this gem and for some reason the `/sign_out` route is missing and is returning 404 not found but it's present when viewing the `rake routes` output. The `/sign_in` and all other routes work. This also happens even in a fresh Rails 5 app in API mode and the latest `devise_token_auth` gem and version `0.1.37`.\r\n\r\nRoutes definition:\r\n```ruby\r\nnamespace :v1 do\r\n    mount_devise_token_auth_for 'User', at: 'auth'\r\n    ...\r\nend\r\n```\r\n\r\nRoutes output:\r\n```\r\n            Prefix Verb   URI Pattern                         Controller#Action\r\n        new_v1_user_session GET    /v1/auth/sign_in(.:format)          devise_token_auth/sessions#new\r\n            v1_user_session POST   /v1/auth/sign_in(.:format)          devise_token_auth/sessions#create\r\n    destroy_v1_user_session DELETE /v1/auth/sign_out(.:format)         devise_token_auth/sessions#destroy\r\n           v1_user_password POST   /v1/auth/password(.:format)         devise_token_auth/passwords#create\r\n       new_v1_user_password GET    /v1/auth/password/new(.:format)     devise_token_auth/passwords#new\r\n      edit_v1_user_password GET    /v1/auth/password/edit(.:format)    devise_token_auth/passwords#edit\r\n                            PATCH  /v1/auth/password(.:format)         devise_token_auth/passwords#update\r\n                            PUT    /v1/auth/password(.:format)         devise_token_auth/passwords#update\r\ncancel_v1_user_registration GET    /v1/auth/cancel(.:format)           devise_token_auth/registrations#cancel\r\n       v1_user_registration POST   /v1/auth(.:format)                  devise_token_auth/registrations#create\r\n   new_v1_user_registration GET    /v1/auth/sign_up(.:format)          devise_token_auth/registrations#new\r\n  edit_v1_user_registration GET    /v1/auth/edit(.:format)             devise_token_auth/registrations#edit\r\n                            PATCH  /v1/auth(.:format)                  devise_token_auth/registrations#update\r\n                            PUT    /v1/auth(.:format)                  devise_token_auth/registrations#update\r\n                            DELETE /v1/auth(.:format)                  devise_token_auth/registrations#destroy\r\n       v1_user_confirmation POST   /v1/auth/confirmation(.:format)     devise_token_auth/confirmations#create\r\n   new_v1_user_confirmation GET    /v1/auth/confirmation/new(.:format) devise_token_auth/confirmations#new\r\n                            GET    /v1/auth/confirmation(.:format)     devise_token_auth/confirmations#show\r\n     v1_auth_validate_token GET    /v1/auth/validate_token(.:format)   devise_token_auth/token_validations#validate_token\r\n```\r\n\r\nIs there something I'm missing in this setup? or might not be doing that's causing this issue? I can provide a repo that reproduces this issue if that will help.\r\n\r\nP.S.\r\nThanks for this great gem!"}}
{"actor":{"display_login":"dnlsandiego"}}