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 | 4222 | December 18, 2013 | |
Rails JSON API Serializing | 3 | 1380 | October 11, 2017 | |
current_user helper method | 4 | 4467 | December 18, 2013 | |
RESTful nested routes when 'current_user' is available | 3 | 1774 | March 30, 2016 | |
Part 1 current_user not defined | 3 | 1427 | December 9, 2013 |