Commit 7b068a4d authored by Siddharth Asthana's avatar Siddharth Asthana

Pass formats explicitly when rendering .md file

Changelog: other
EE: true
parent 4ba3b669
...@@ -18,7 +18,8 @@ module Issues ...@@ -18,7 +18,8 @@ module Issues
def render_description(vulnerability) def render_description(vulnerability)
ApplicationController.render( ApplicationController.render(
template: 'vulnerabilities/issue_description.md.erb', template: 'vulnerabilities/issue_description',
formats: :md,
locals: { vulnerability: vulnerability.present } locals: { vulnerability: vulnerability.present }
) )
end 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