mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This allows users who are privacy conscious to disable the presence features of the forum as well as their public profile.
8 lines
124 B
Ruby
8 lines
124 B
Ruby
class HiddenProfileSerializer < BasicUserSerializer
|
|
attributes :profile_hidden?
|
|
|
|
def profile_hidden?
|
|
true
|
|
end
|
|
end
|