summaryrefslogtreecommitdiff
path: root/app/mailers
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-02-06 20:15:25 +0100
committerAlexis Reigel <mail@koffeinfrei.org>2017-02-22 12:22:52 +0100
commitf0766fdefaeadcc526d6a87e29b65f5bf7b26318 (patch)
tree60efedc9bcff93441efdb246ea5c27c1c3ebbff0 /app/mailers
parent5f3f6ee605f3151214030835d058199fddac46fd (diff)
downloadgitlab-ce-f0766fdefaeadcc526d6a87e29b65f5bf7b26318.tar.gz
extract pipeline mails layout
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/emails/pipelines.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/mailers/emails/pipelines.rb b/app/mailers/emails/pipelines.rb
index 9460a6cd2be..f9f45ab987b 100644
--- a/app/mailers/emails/pipelines.rb
+++ b/app/mailers/emails/pipelines.rb
@@ -22,8 +22,8 @@ module Emails
mail(bcc: recipients,
subject: pipeline_subject(status),
skip_premailer: true) do |format|
- format.html { render layout: false }
- format.text
+ format.html { render layout: 'mailer' }
+ format.text { render layout: 'mailer' }
end
end