Created
February 27, 2020 01:34
-
-
Save nikasulo/d4d565dd2291b5d92c3f7e603abed8ab 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
def json_response(object, status = :ok) | |
render json: object, status: status | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment