Files
postter/app/views/posts/_user.json.jbuilder
João Victor Geonizeli aa0e1ac1c7 change json contract
2022-02-28 12:40:17 -03:00

4 lines
75 B
Ruby

json.extract! user, :id, :username
json.url user_url(user, format: :json)