Commit a4d63a91 authored by Mike Greiling's avatar Mike Greiling

prevent pipeline emails from using the normal layout wrapper

parent 1fe08610
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment