Guest User

Untitled

a guest
Oct 31st, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. class UsersController < ActionController
  2. def show
  3. user = User.find(params[:id].to_i)
  4. user.crypted_password = "nul"
  5. render json
  6. end
  7. end
Add Comment
Please, Sign In to add comment