discourse/app/serializers/admin_badge_serializer.rb

8 lines
170 B
Ruby

class AdminBadgeSerializer < BadgeSerializer
attributes :query, :trigger, :target_posts, :auto_revoke, :show_posts
def include_long_description?
true
end
end