mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
ability to set unread as home
This commit is contained in:
@@ -50,6 +50,8 @@ Controllers.home = function(req, res, next) {
|
||||
|
||||
if (route === 'categories' || route === '/') {
|
||||
Controllers.categories.list(req, res, next);
|
||||
} else if (route === 'unread') {
|
||||
Controllers.unread.get(req, res, next);
|
||||
} else if (route === 'recent') {
|
||||
Controllers.recent.get(req, res, next);
|
||||
} else if (route === 'popular') {
|
||||
|
||||
Reference in New Issue
Block a user