adding wiki as detached and integrating into .less folder

This commit is contained in:
Hallaathrad
2016-02-09 23:22:42 -05:00
parent 02662e98e2
commit fe422d2300
6 changed files with 41 additions and 8 deletions

10
server/boot/t-wiki.js Normal file
View File

@ -0,0 +1,10 @@
module.exports = function(app) {
var router = app.loopback.Router();
router.get('/wiki', showWiki);
app.use(router);
function showWiki(req, res) {
res.render('wiki/show', { title: 'Wiki | Free Code Camp' });
}
};