skip the premailer compilation step since css is already inlined for the pipeline emails

This commit is contained in:
Mike Greiling 2016-10-08 00:58:49 -05:00
parent a4d63a91a2
commit 6b50c21140

View file

@ -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