-
I'm trying to figure out if there is a way to include the |
Beta Was this translation helpful? Give feedback.
Answered by
renchap
Nov 9, 2021
Replies: 2 comments
-
Yes, you can use For example: after_login do
json_response.merge!(user: user.as_json)
end |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andyrue
-
Excellent. Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can use
json_response
for this.For example: