mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
removing commented out route
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user