prevent pipeline emails from using the normal layout wrapper
This commit is contained in:
parent
1fe0861051
commit
a4d63a91a2
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue