discourse/app/serializers/badge_grouping_serializer.rb

8 lines
155 B
Ruby
Raw Normal View History

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