diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-11-26 16:48:01 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-11-26 18:03:43 +0300 |
commit | 7f214cee74796ceaf7b01bd6e133d4d54c5123db (patch) | |
tree | cefc7a17adadbee1a9d349f4f5843d63290482a7 /app/controllers/abuse_reports_controller.rb | |
parent | 3e0fe27627f5b074a35ce2e1a0794f869f8abc15 (diff) |
Migrate mailers to ActiveJob
Diffstat (limited to 'app/controllers/abuse_reports_controller.rb')
-rw-r--r-- | app/controllers/abuse_reports_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/abuse_reports_controller.rb b/app/controllers/abuse_reports_controller.rb index 2f4054eaa11..d8e90594332 100644 --- a/app/controllers/abuse_reports_controller.rb +++ b/app/controllers/abuse_reports_controller.rb @@ -10,7 +10,7 @@ class AbuseReportsController < ApplicationController if @abuse_report.save if current_application_settings.admin_notification_email.present? - AbuseReportMailer.delay.notify(@abuse_report.id) + AbuseReportMailer.deliver_later.notify(@abuse_report.id) end message = "Thank you for your report. A GitLab administrator will look into it shortly." |