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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
4a307a69
Commit
4a307a69
authored
Oct 30, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass formats explicitly when rendering .md.erb
Changelog: other EE: true
parent
c6617e3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ee/app/helpers/vulnerabilities_helper.rb
ee/app/helpers/vulnerabilities_helper.rb
+5
-1
No files found.
ee/app/helpers/vulnerabilities_helper.rb
View file @
4a307a69
...
...
@@ -46,7 +46,11 @@ module VulnerabilitiesHelper
decorated_vulnerability
=
vulnerability
.
present
summary
=
_
(
'Investigate vulnerability: %{title}'
)
%
{
title:
decorated_vulnerability
.
title
}
description
=
ApplicationController
.
render
(
template:
'vulnerabilities/jira_issue_description.md.erb'
,
description
=
ApplicationController
.
render
(
template:
{
partial:
'vulnerabilities/jira_issue_description'
,
formats: :md
,
handlers: :erb
},
locals:
{
vulnerability:
decorated_vulnerability
})
vulnerability
.
project
.
jira_integration
.
new_issue_url_with_predefined_fields
(
summary
,
description
)
...
...
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