discourse/app/serializers/badge_grouping_serializer.rb

8 lines
155 B
Ruby
Raw Normal View History

2014-07-17 14:10:44 +08:00
class BadgeGroupingSerializer < ApplicationSerializer
2016-04-01 05:33:25 +08:00
attributes :id, :name, :description, :position, :system
def system
object.system?
end
2014-07-17 14:10:44 +08:00
end