removing commented out route

This commit is contained in:
Julian Lam
2013-11-11 14:15:27 -05:00
parent 37497fc5a0
commit a42b30fd40

View File

@@ -667,19 +667,6 @@ var express = require('express'),
});
});
/* app.get('/search', function (req, res) {
if (!req.user) {
return res.redirect('/403');
}
app.build_header({
req: req,
res: res
}, function (err, header) {
res.send(header + app.create_route("search", null, "search") + templates.footer);
});
});*/
app.get('/search/:term', function (req, res) {
if (!req.user) {
return res.redirect('/403');