Commit ca29fd87 authored by Pavel Shutsin's avatar Pavel Shutsin

Merge branch 'issue_32492_build_from_vulnerability_service' into 'master'

Pass formats explicitly when rendering .md file

See merge request gitlab-org/gitlab!75778
parents 7b20b490 7b068a4d
......@@ -18,7 +18,8 @@ module Issues
def render_description(vulnerability)
ApplicationController.render(
template: 'vulnerabilities/issue_description.md.erb',
template: 'vulnerabilities/issue_description',
formats: :md,
locals: { vulnerability: vulnerability.present }
)
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