Include page number in redirected topics

v1.18.x
Ben Lubar 8 years ago
parent a42d8c5be2
commit 7d90a94261

@ -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