This website requires JavaScript.
Explore
Help
Register
Sign In
github-mirror
/
discourse
Watch
2
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2024-12-16 15:53:46 +08:00
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
f5e0cf63f6
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 23:32:08 +08:00
class
UserField
<
ActiveRecord
::
Base
Adds support for a description to user fields.
2014-10-03 03:56:28 +08:00
validates_presence_of
:name
,
:description
,
:field_type
FEATURE: Admin interface for adding custom fields for users
2014-09-25 23:32:08 +08:00
end
Reference in New Issue
Copy Permalink