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
attributes :id, :name, :description, :position, :system
def system
object.system?
end
2014-07-17 14:10:44 +08:00
end