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 using this gem together with the module ng-token-auth in my Ionic mobile app (which bases on angular).
After logging in, if I reload the page, a request auth/validate_token will be sent. I get a 'Circular dependency detected while autoloading constant Api' on that.
I'm also using the gem grape for building the API, which could also be the source of the problem.
This is my routes.rb file (devise is also included because I'm using it in my Rails app which contains the API):
I'm using this gem together with the module
ng-token-auth
in my Ionic mobile app (which bases on angular).After logging in, if I reload the page, a request
auth/validate_token
will be sent. I get a'Circular dependency detected while autoloading constant Api'
on that.I'm also using the gem
grape
for building the API, which could also be the source of the problem.This is my
routes.rb
file (devise
is also included because I'm using it in my Rails app which contains the API):There is no useful info in the server logs. How can I solve this problem?
Thank you!
The text was updated successfully, but these errors were encountered: