diff options
author | Valery Sizov <valery@gitlab.com> | 2015-11-30 16:12:31 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-11-30 16:12:31 +0200 |
commit | e92ceb7b57139e985674a44cfe75534c52ed4acd (patch) | |
tree | e4541606093f122532dfaaf7f460c30162771f31 /app/controllers/abuse_reports_controller.rb | |
parent | 461731f0769a826d00c4d5846ff6d2f55fd4b829 (diff) | |
download | gitlab-ce-e92ceb7b57139e985674a44cfe75534c52ed4acd.tar.gz |
fix specsrails_update_to_4_2
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 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." |