Side-by-side / parallel view buttons link to JSON output instead of HTML
Created by: bradmerlin
If navigating to a merge request, and then heading to the Changes tab, the inline/side-by-side view buttons link to JSON output. Something like this:
https://git.example.com/company/repo/merge_requests/123/diffs.json?view=inline
instead of what should be:
https://git.example.com/company/repo/merge_requests/144/diffs?view=inline
This problem disappears if navigating back from the incorrectly linked JSON.