2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-04 01:15:08 +08:00
discourse/app/serializers/primary_group_serializer.rb
Bianca Nenciu 87c1e98571
FEATURE: Let users select flair (#13587)
User flair was given by user's primary group. This PR separates the
two, adds a new field to the user model for flair group ID and users
can select their flair from user preferences now.
2021-07-08 10:46:21 +03:00

5 lines
112 B
Ruby

# frozen_string_literal: true
class PrimaryGroupSerializer < ApplicationSerializer
attributes :id, :name
end