blob: f0c41f69a5c5b15eefcd7e107f6faf7fc989a37a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class AbuseReportMailer < BaseMailer
include Gitlab::CurrentSettings
def notify(abuse_report_id)
@abuse_report = AbuseReport.find(abuse_report_id)
mail(
to: current_application_settings.admin_notification_email,
subject: "#{@abuse_report.user.name} (#{@abuse_report.user.username}) was reported for abuse"
)
end
end
|