cleanup - search routes

v1.18.x
psychobunny 11 years ago
parent a68ba044c3
commit 23983c4c80

@ -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);

Loading…
Cancel
Save