discourse/app/serializers/badge_grouping_serializer.rb

8 lines
155 B
Ruby
Raw Normal View History

2014-07-17 01:10:44 -05:00
class BadgeGroupingSerializer < ApplicationSerializer
attributes :id, :name, :description, :position, :system
def system
object.system?
end
2014-07-17 01:10:44 -05:00
end