From 6b50c21140187ddf1ebfde4e958902398a9a02bf Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Sat, 8 Oct 2016 00:58:49 -0500 Subject: [PATCH] skip the premailer compilation step since css is already inlined for the pipeline emails --- app/mailers/emails/pipelines.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mailers/emails/pipelines.rb b/app/mailers/emails/pipelines.rb index 5296e6fc61b..903d123705a 100644 --- a/app/mailers/emails/pipelines.rb +++ b/app/mailers/emails/pipelines.rb @@ -19,7 +19,7 @@ module Emails target_branch: @project.default_branch) add_headers - mail(to: to, subject: pipeline_subject(status)) do |format| + mail(to: to, subject: pipeline_subject(status), skip_premailer: true) do |format| format.html { render layout: false } format.text end