diff options
author | fahimkhan | 2016-09-20 17:33:40 +0530 |
---|---|---|
committer | fahimkhan | 2016-09-20 17:33:40 +0530 |
commit | 36aaf4cdc8f978920db073aba03b136fc8a7a432 (patch) | |
tree | 67590cba46977f86e2ae0f59308735eec7b84cc3 /routes/routes.js | |
parent | 54cf9ef1c1fd193bc8cb6c9fdc4cd67b6f35753f (diff) | |
download | Online-NgSpice-Simulator-36aaf4cdc8f978920db073aba03b136fc8a7a432.tar.gz Online-NgSpice-Simulator-36aaf4cdc8f978920db073aba03b136fc8a7a432.tar.bz2 Online-NgSpice-Simulator-36aaf4cdc8f978920db073aba03b136fc8a7a432.zip |
Subject: Added layout
Description: Added layput to About and Contact page.
Diffstat (limited to 'routes/routes.js')
-rw-r--r-- | routes/routes.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/routes/routes.js b/routes/routes.js index e20ae07..6889f74 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -10,6 +10,11 @@ module.exports = function(express,app,fs,os,io,PythonShell,scriptPath){ }); + router.get('/index',function(req,res,next){ + res.render('index',{host:app.get('host'),title:'Ngspice Simulator'}); + + }); + /*About Page*/ router.get('/about',function(req,res,next){ res.render('about',{title:'Ngspice Simulator'}); |