diff options
Diffstat (limited to 'app/mailers/emails/pipelines.rb')
-rw-r--r-- | app/mailers/emails/pipelines.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/emails/pipelines.rb b/app/mailers/emails/pipelines.rb index 92f1431ce66..601c8b5cd62 100644 --- a/app/mailers/emails/pipelines.rb +++ b/app/mailers/emails/pipelines.rb @@ -13,7 +13,7 @@ module Emails def pipeline_mail(pipeline, to, status) @project = pipeline.project @pipeline = pipeline - @merge_request = pipeline.merge_requests_with_active_first.first + @merge_request = pipeline.merge_requests.first add_headers mail(to: to, subject: pipeline_subject(status), skip_premailer: true) do |format| |