Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby on rails devise_token_auth gem unable to find routes #686

Closed
ImDineshSaini opened this issue Jul 27, 2016 · 2 comments
Closed

Ruby on rails devise_token_auth gem unable to find routes #686

ImDineshSaini opened this issue Jul 27, 2016 · 2 comments

Comments

@ImDineshSaini
Copy link

Description here:

http://stackoverflow.com/questions/38609259/ruby-on-rails-devise-token-auth-gem-unable-to-find-routes

@navkar
Copy link

navkar commented Sep 1, 2016

You have to do the following...

  1. repeat the line mount_devise_token_auth_for at the top level. (example)
mount_devise_token_auth_for 'Customer', at: 'customer'
  constraints subdomain: 'api' do
    scope module: 'api' do
      namespace :v1, constraints: { format: 'json' } do 
        mount_devise_token_auth_for 'Customer', at: 'customer',

@zachfeldman
Copy link
Contributor

Workaround posted, closing for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants