mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 16:48:51 -05:00
5 lines
184 B
Ruby
5 lines
184 B
Ruby
class BadgeSerializer < ApplicationSerializer
|
|
attributes :id, :name, :description, :grant_count, :allow_title, :multiple_grant, :icon, :listable, :enabled
|
|
|
|
has_one :badge_type
|
|
end
|