3 lines
89 B
Ruby
3 lines
89 B
Ruby
json.extract! user, :id, :created_at, :updated_at
|
|
json.url user_url(user, format: :json)
|