Resolve "ActionController::RespondToMismatchError in wiki controller"
What does this MR do?
This MR swaps the order of format.any
and format.html
to prevent a 500 error from being thrown. The root cause of this behavior is how Rails handles a request with the Accept: */*
header. See this comment on an upstream Rails issue for more details.
Does this MR meet the acceptance criteria?
Conformity
-
📋 Does this MR need a changelog?-
I have included a changelog entry. -
I have not included a changelog entry because _____.
-
-
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Related to #235479 (closed)
Edited by Athar Hameed