I am using Active Model Serializers and Grape API. How can I access current_user from the UserSerializer? The Grape documentation doesnt work the way they say.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Not able to access the current_user from a serializer class | 3 | 4221 | December 18, 2013 | |
Testing current_user in application_controller | 1 | 658 | June 24, 2013 | |
Thoughts on polymorphic users and current_user | 3 | 743 | January 24, 2014 | |
Part 1 current_user not defined | 3 | 1426 | December 9, 2013 | |
Implementing a "sudo" feature when using devise | 1 | 1111 | February 21, 2014 |