Regression: Snippet pagination on user page leads to raw JSON instead of normal webpage
Reproduced on Gitlab.com: see https://gitlab.com/u/testeur8642/snippets (try to go to page 2 of the snippets)
When accessing the snippets from the user page, the page navigation at the bottom is broken: switching to another page leads to raw JSON output.
Instead of a link to something like https://gitlab.com/u/testeur8642/snippets?page=2
(which doesn't work either), the page navigation at the bottom lead to https://gitlab.com/u/testeur8642/snippets.json?page=2
.