diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-10 04:42:16 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-10 04:42:16 +0100 |
| commit | a932b664db987f2cf9ceefe9bb56e43793470d5e (patch) | |
| tree | bd0722849164218e418cc032d5a8a50d6b106709 /bucky/app/router.js | |
| parent | 9978bb56fc2c56ad52930bde9bcaa561158a158a (diff) | |
style search. LOTTA styling
Diffstat (limited to 'bucky/app/router.js')
| -rw-r--r-- | bucky/app/router.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bucky/app/router.js b/bucky/app/router.js index 8104bd5..2fd8d83 100644 --- a/bucky/app/router.js +++ b/bucky/app/router.js @@ -91,7 +91,13 @@ module.exports = function(app){ function(req, res){ // delete a comment }) - + + app.get("/search/", + middleware.ensureAuthenticated, + function(req, res){ + res.render("pages/search", {title: "search" }) + } + ) app.get("/api/search", middleware.ensureAuthenticated, search.search, |
