mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-07 21:21:18 +01:00
fix custom homepage
This commit is contained in:
@@ -42,9 +42,9 @@ Controllers.home = function(req, res, next) {
|
||||
if (route === 'categories') {
|
||||
Controllers.categories.list(req, res, next);
|
||||
} else if (route === 'recent') {
|
||||
Controllers.categories.recent(req, res, next);
|
||||
Controllers.recent.get(req, res, next);
|
||||
} else if (route === 'popular') {
|
||||
Controllers.categories.popular(req, res, next);
|
||||
Controllers.popular.get(req, res, next);
|
||||
} else {
|
||||
next();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user