micro-blogger/app/views/v1/users/_user.json.jbuilder

10 lines
184 B
Plaintext
Raw Permalink Normal View History

2018-11-10 18:46:47 -06:00
# frozen_string_literal: true
json.extract! user,
:id,
:display_name,
:email,
:role
json.url v1_user_url(user, format: :json)