removed test route

v1.18.x
Baris Soner Usakli 12 years ago
parent 78f462e1e6
commit 6b2be772e7

@ -387,17 +387,6 @@ var express = require('express'),
res.redirect(global.nconf.get('relative_path') + '/404');
}
});
app.get('/test', function(req, res) {
topics.getUnreadTopics(4, 0, 9, function(data) {
console.log('ll', data.topics.length);
topics.getUnreadTopics(4, data.topics.length, data.topics.length + 9, function(data2) {
var finalData = [data,data2];
res.json(finalData);
});
});
});
});
// These functions are called via ajax once the initial page is loaded to populate templates with data

Loading…
Cancel
Save