Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
a4d63a91
Commit
a4d63a91
authored
Oct 07, 2016
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prevent pipeline emails from using the normal layout wrapper
parent
1fe08610
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
app/mailers/emails/pipelines.rb
app/mailers/emails/pipelines.rb
+4
-1
No files found.
app/mailers/emails/pipelines.rb
View file @
a4d63a91
...
@@ -19,7 +19,10 @@ module Emails
...
@@ -19,7 +19,10 @@ module Emails
target_branch:
@project
.
default_branch
)
target_branch:
@project
.
default_branch
)
add_headers
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
end
def
add_headers
def
add_headers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment