-
Notifications
You must be signed in to change notification settings - Fork 74
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
Active Model Serializers not compatible with currentUser #76
Comments
My UserSerializer, which causes the Problem with Auth.currentUser() looks like this:
JSON Output with UserSerializer disabled:
JSON Output with UserSerializer enabled (includes the auction model):
AngularJS Controller for Auth (navCtrl):
I have also opened a question on stackoverflow: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Active Model Serializers Gem and have created an UserSerializer (users_serializers.rb). Since then I cannot access Auth.currentUser() in AngularJS anymore. Everything else (Login/Reg/Oauth) still works... When I remove the UserSerializer Auth.currentUser() is accessible again...
Is there a fix for this issue, or am I just missing something?
The text was updated successfully, but these errors were encountered: