This website requires JavaScript.
Explore
Help
Sign in
codeninjasllc
/
discourse
Watch
1
Star
0
Fork
You've already forked discourse
0
mirror of
https://github.com/codeninjasllc/discourse.git
synced
2024-11-28 01:56:01 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
30ce67f689
discourse
/
app
/
models
/
user_field.rb
4 lines
98 B
Ruby
Raw
Normal View
History
Unescape
Escape
FEATURE: Admin interface for adding custom fields for users
2014-09-25 11:32:08 -04:00
class
UserField
<
ActiveRecord
::
Base
Adds support for a description to user fields.
2014-10-02 15:56:28 -04:00
validates_presence_of
:name
,
:description
,
:field_type
FEATURE: Admin interface for adding custom fields for users
2014-09-25 11:32:08 -04:00
end
Reference in a new issue
Copy permalink