summaryrefslogtreecommitdiff
path: root/app/mailers
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-10-08 00:58:49 -0500
committerMike Greiling <mike@pixelcog.com>2016-10-08 00:58:49 -0500
commit6b50c21140187ddf1ebfde4e958902398a9a02bf (patch)
tree0ebb1949556574f2e7dd9caf0e16bb372facd62e /app/mailers
parenta4d63a91a24780f77a28d122a60545936e8346e9 (diff)
downloadgitlab-ce-6b50c21140187ddf1ebfde4e958902398a9a02bf.tar.gz
skip the premailer compilation step since css is already inlined for the pipeline emails
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/emails/pipelines.rb2
1 files changed, 1 insertions, 1 deletions
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