Last active
July 28, 2016 03:58
-
-
Save GiancarlosIO/dedcba2f3db87a84e06341d27f23980e 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
# my_api/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