discourse/app/serializers/found_user_with_status_serializer.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
211 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class FoundUserWithStatusSerializer < FoundUserSerializer
include UserStatusMixin
def initialize(object, options = {})
super
options[:include_status] = true
end
end