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 | 4225 | December 18, 2013 | |
Rails JSON API Serializing | 3 | 1383 | October 11, 2017 | |
current_user helper method | 4 | 4471 | December 18, 2013 | |
RESTful nested routes when 'current_user' is available | 3 | 1779 | March 30, 2016 | |
Part 1 current_user not defined | 3 | 1438 | December 9, 2013 |