mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
removed recent/day week month
it starts with most recent 20 topics now and goes back instead of showing empty if there are no new replies in the past 24 hours
This commit is contained in:
@@ -50,7 +50,7 @@ function tagRoutes(app, middleware, controllers) {
|
||||
|
||||
function categoryRoutes(app, middleware, controllers) {
|
||||
setupPageRoute(app, '/popular/:term?', middleware, [], controllers.categories.popular);
|
||||
setupPageRoute(app, '/recent/:term?', middleware, [], controllers.categories.recent);
|
||||
setupPageRoute(app, '/recent', middleware, [], controllers.categories.recent);
|
||||
setupPageRoute(app, '/unread', middleware, [middleware.authenticate], controllers.categories.unread);
|
||||
app.get('/api/unread/total', middleware.authenticate, controllers.categories.unreadTotal);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user