mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: Support for a required
setting on user fields.
This commit is contained in:
parent
9f2be41710
commit
f9a8f6d6ce
16 changed files with 110 additions and 48 deletions
|
@ -1,3 +1,8 @@
|
|||
class UserFieldSerializer < ApplicationSerializer
|
||||
attributes :id, :name, :description, :field_type, :editable
|
||||
attributes :id,
|
||||
:name,
|
||||
:description,
|
||||
:field_type,
|
||||
:editable,
|
||||
:required
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue