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-25 08:39:38 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
a211f542f5
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