Created
June 22, 2016 21:09
-
-
Save souzaonofre/2d2248d14ece7264bd2948b1eee663d4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
respond_to do |format| | |
format.json { render json: @model_instance, :only => [:id, :name] } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment