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

define_helpers not called at rails launch #708

Closed
andreassh opened this issue Aug 22, 2016 · 1 comment
Closed

define_helpers not called at rails launch #708

andreassh opened this issue Aug 22, 2016 · 1 comment

Comments

@andreassh
Copy link

Hi there,

I've run into an issue with the gem that effectively means, that authenticated users always gets a 401 when i launch the rails app for the first time.
As soon as i make a change in my code (any change), the authentication works flawlessly.
More specifically, I noticed that the define_helpers method under DeviseTokenAuth::Controllers::Helpers aren't being called until I make some change in my code.
If i define the helper methods on my ApplicationController, the code runs perfectly when i launch my app, without making any change in the code. Hence it's seem like the helpers aren't being declared at app launch.
Any ideas on why this could be?

Thanks,
Andreas

@zachfeldman
Copy link
Contributor

Hi there @andreassh ,

In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!

If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.

Hope all is well.

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

No branches or pull requests

2 participants