agenda-libre-ruby/app/views/users/show.json.jbuilder

3 lines
99 B
Ruby

json.extract! @user, :login, :email, :lastname, :firstname, :created_at,
:updated_at