diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-29 09:19:07 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-29 09:19:07 +0200 |
commit | 5d15cf2ba995251815a31737185cb701f61c4f23 (patch) | |
tree | 296e084b5db9037b9870371b85da8713e6025d25 /controllers/system.js | |
parent | Merge branch 'dev' (diff) | |
download | Divid-5d15cf2ba995251815a31737185cb701f61c4f23.tar.gz |
added faq to controllers
Diffstat (limited to 'controllers/system.js')
-rw-r--r-- | controllers/system.js | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/controllers/system.js b/controllers/system.js index e54fc1c..e798f17 100644 --- a/controllers/system.js +++ b/controllers/system.js @@ -13,28 +13,33 @@ */ exports.index = function(req, res) { - res.render('index', { title: 'DERS' }); + res.render('index', { title: 'DERS' }); }; exports.test = function(req, res) { - res.render('test', { - title: 'test', - loggedin: false - }); - }; + res.render('test', { + title: 'test', + loggedin: false + }); +}; exports.home = function(req, res) { - res.render('home', { - title: 'home', - loggedin: false - }); - }; - - - + res.render('home', { + title: 'home', + loggedin: false + }); +}; + + +exports.faq = function(req, res) { + res.render('faq', { + title: 'faq', + loggedin: false + }); +} @@ -47,16 +52,16 @@ exports.home = function(req, res) { exports.dashboard = function(req, res) { - console.log('/dashboard - ' + req.user); - res.render('dashboard', { - title: 'kanin', - loggedin: true - }); - }; + console.log('/dashboard - ' + req.user); + res.render('dashboard', { + title: 'kanin', + loggedin: true + }); +}; exports.project = function(req, res) { - res.render('project', { title: 'Harepus', loggedin: true }); + res.render('project', { title: 'Harepus', loggedin: true }); } |