Skip to content

Be explicit on merge request discussion variables

Paco Guzman requested to merge 19702-define_show_html_vars into master

What does this MR do?

To avoid conditionals and to messing with request.format and accept headers to know in which format we're going to response I've decided to be explicit in when we need the discussion variables

Why was this MR needed?

Solve a bug https://sentry.gitlap.com/gitlab/staginggitlabcom/issues/8492/

What are the relevant issue numbers?

Closes #19702 (closed)

Does this MR meet the acceptance criteria?

Merge request reports