Created
November 11, 2016 22:35
-
-
Save memaker/2b68a57f2e7fb7558e3b6a9cf995650e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/views/api/v1/users/index.json.jbuilder | |
json.array! @users do |user| | |
json.(user, :id, :email, :name) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment