Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-11-26 16:48:01 +0300
committerValery Sizov <valery@gitlab.com>2015-11-26 18:03:43 +0300
commit7f214cee74796ceaf7b01bd6e133d4d54c5123db (patch)
treecefc7a17adadbee1a9d349f4f5843d63290482a7 /app/controllers/abuse_reports_controller.rb
parent3e0fe27627f5b074a35ce2e1a0794f869f8abc15 (diff)
Migrate mailers to ActiveJob
Diffstat (limited to 'app/controllers/abuse_reports_controller.rb')
-rw-r--r--app/controllers/abuse_reports_controller.rb2
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."