mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
closes #3765
This commit is contained in:
@@ -7,12 +7,13 @@ var user = require('../../user'),
|
||||
var notificationsController = {};
|
||||
|
||||
notificationsController.get = function(req, res, next) {
|
||||
user.notifications.getAll(req.uid, 40, function(err, notifications) {
|
||||
user.notifications.getAll(req.uid, 0, 39, function(err, notifications) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
res.render('notifications', {
|
||||
notifications: notifications,
|
||||
nextStart: 40,
|
||||
title: '[[pages:notifications]]',
|
||||
breadcrumbs: helpers.buildBreadcrumbs([{text: '[[pages:notifications]]'}])
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user