Commit 54368e77 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'issue_342492_issues_controllerr' into 'master'

Pass formats explicitly when rendering .html file

See merge request gitlab-org/gitlab!75775
parents 134c16cc 9ab0a173
...@@ -102,6 +102,7 @@ module EE ...@@ -102,6 +102,7 @@ module EE
def render_vulnerability_link_alert def render_vulnerability_link_alert
render_to_string( render_to_string(
partial: 'vulnerabilities/unable_to_link_vulnerability', partial: 'vulnerabilities/unable_to_link_vulnerability',
formats: :html,
locals: { locals: {
vulnerability_link: vulnerability_path(vulnerability) 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