Commit a4f56897 authored by Robert May's avatar Robert May

Merge branch 'issue_342492_vulnerability_presenter' into 'master'

Pass formats explicitly when rendering .md file

See merge request gitlab-org/gitlab!75777
parents c6db9521 7360983d
......@@ -50,7 +50,8 @@ class VulnerabilityPresenter < Gitlab::View::Presenter::Delegated
def jira_issue_description
ApplicationController.render(
template: 'vulnerabilities/jira_issue_description.md.erb',
template: 'vulnerabilities/jira_issue_description',
formats: :md,
locals: { vulnerability: self }
)
end
......
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