Merge pull request #5033 from BenLubar/page-removed-from-url

Include page number in redirected topics
v1.18.x
Barış Soner Uşaklı 8 years ago committed by GitHub
commit 3a50c46572

@ -58,6 +58,9 @@ topicsController.get = function(req, res, callback) {
if (req.params.post_index){
url += '/'+req.params.post_index;
}
if (currentPage > 1) {
url += '?page=' + currentPage;
}
return helpers.redirect(res, url);
}

Loading…
Cancel
Save