diff options
-rw-r--r-- | app/mailers/emails/pipelines.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/mailers/emails/pipelines.rb b/app/mailers/emails/pipelines.rb index 941ba2643ab..5296e6fc61b 100644 --- a/app/mailers/emails/pipelines.rb +++ b/app/mailers/emails/pipelines.rb @@ -19,7 +19,10 @@ module Emails target_branch: @project.default_branch) add_headers - mail(to: to, subject: pipeline_subject(status)) + mail(to: to, subject: pipeline_subject(status)) do |format| + format.html { render layout: false } + format.text + end end def add_headers |