From 6b2be772e7601dc33895be6019e6f6d6a917061b Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Sun, 28 Jul 2013 18:31:20 -0400 Subject: [PATCH] removed test route --- src/webserver.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/webserver.js b/src/webserver.js index dd8f3c0b90..d33da8dd4d 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -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