How can I use current_user in api model?
akashkamboj opened this issue · 2 comments
akashkamboj commented
I have an API of posts that tells whether or not the post is liked by current_user (devise's helper method for Current Logged in user). How can I use this method in template? I see that you can pass options to template, but I am not able to get how can I use it in List of Posts. Please Help.
Also I am using REE 1.8.7
fabrik42 commented
Closing this for now