Commit 9ab0a173 authored by Siddharth Asthana's avatar Siddharth Asthana

Pass formats explicitly when rendering .html file

Changelog: other
EE: true
parent eecf15b9
......@@ -102,6 +102,7 @@ module EE
def render_vulnerability_link_alert
render_to_string(
partial: 'vulnerabilities/unable_to_link_vulnerability',
formats: :html,
locals: {
vulnerability_link: vulnerability_path(vulnerability)
}
......
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