discourse/app/models/concerns/reports/system_private_messages.rb

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

13 lines
283 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Reports::SystemPrivateMessages
extend ActiveSupport::Concern
class_methods do
def report_system_private_messages(report)
report.icon = 'envelope'
private_messages_report report, TopicSubtype.system_message
end
end
end