mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -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
|