v1.18.x
Julian Lam 9 years ago
parent 4f913d3f19
commit a0d989a112

@ -30,7 +30,7 @@ var Controllers = {
Controllers.home = function(req, res, next) {
var route = meta.config.homePageRoute || meta.config.homePageCustom || 'categories';
var route = meta.config.homePageRoute || meta.config.homePageCustom.replace(/^\/+/, '') || 'categories';
user.getSettings(req.uid, function(err, settings) {
if (err) {

Loading…
Cancel
Save