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 <valery@gitlab.com>2015-11-30 17:12:31 +0300
committerValery Sizov <valery@gitlab.com>2015-11-30 17:12:31 +0300
commite92ceb7b57139e985674a44cfe75534c52ed4acd (patch)
treee4541606093f122532dfaaf7f460c30162771f31 /app/controllers/abuse_reports_controller.rb
parent461731f0769a826d00c4d5846ff6d2f55fd4b829 (diff)
fix specs
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 d8e90594332..20bc5173f1d 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.deliver_later.notify(@abuse_report.id)
+ AbuseReportMailer.notify(@abuse_report.id).deliver_later
end
message = "Thank you for your report. A GitLab administrator will look into it shortly."