Created
January 16, 2020 10:30
-
-
Save NoharaMasato/eab7dcc42905256c2b6be5e9b5d5b331 to your computer and use it in GitHub Desktop.
mixi bug shooting challenge task2
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
class UsersController < ActionController | |
def show | |
user = User.find(params[:id].to_i) | |
render json: user, except: [:crypted_password] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment