Users & Auth
This commit is contained in:
9
app/views/v1/users/_user.json.jbuilder
Normal file
9
app/views/v1/users/_user.json.jbuilder
Normal file
@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
json.extract! user,
|
||||
:id,
|
||||
:display_name,
|
||||
:email,
|
||||
:role
|
||||
|
||||
json.url v1_user_url(user, format: :json)
|
Reference in New Issue
Block a user