2
0
Fork 0
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:
Robin Ward 2014-10-08 14:38:18 -04:00
parent 9f2be41710
commit f9a8f6d6ce
16 changed files with 110 additions and 48 deletions

View file

@ -1,3 +1,8 @@
class UserFieldSerializer < ApplicationSerializer
attributes :id, :name, :description, :field_type, :editable
attributes :id,
:name,
:description,
:field_type,
:editable,
:required
end