From 23983c4c805848b5aa660aa4767f886881df2a70 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 10 Mar 2014 01:07:37 -0400 Subject: [PATCH] cleanup - search routes --- src/routes/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/routes/index.js b/src/routes/index.js index 892fce5f5d..0d84cb5428 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -40,8 +40,7 @@ module.exports = function(app, middleware) { app.get('/api/outgoing', controllers.outgoing); app.get('/search/:term?', middleware.buildHeader, middleware.guestSearchingAllowed, controllers.search); - app.get('/api/search/:term', middleware.prepareAPI, middleware.guestSearchingAllowed, controllers.search); // todo: look at this, may not belong here. - //app.get('/api/search/:term?', middleware.guestSearchingAllowed, controllers.search); + app.get('/api/search/:term', middleware.guestSearchingAllowed, controllers.search); app.get('/reset/:code?', middleware.buildHeader, controllers.reset); app.get('/api/reset/:code?', controllers.reset);