micro-blogger/app/views/v1/users/_user.json.jbuilder
2018-11-10 20:34:11 -06:00

10 lines
184 B
Ruby

# frozen_string_literal: true
json.extract! user,
:id,
:display_name,
:email,
:role
json.url v1_user_url(user, format: :json)