mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-01 03:17:53 -05:00
5 lines
163 B
Ruby
5 lines
163 B
Ruby
class BadgeSerializer < ApplicationSerializer
|
|
attributes :id, :name, :description, :grant_count, :allow_title, :multiple_grant, :icon
|
|
|
|
has_one :badge_type
|
|
end
|