mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 14:15:48 +08:00
87c1e98571
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.
6 lines
153 B
Ruby
6 lines
153 B
Ruby
# frozen_string_literal: true
|
|
|
|
class FlairGroupSerializer < ApplicationSerializer
|
|
attributes :id, :name, :flair_url, :flair_bg_color, :flair_color
|
|
end
|