summaryrefslogtreecommitdiff
path: root/routes/routes.js
diff options
context:
space:
mode:
authorfahimkhan2016-09-20 17:33:40 +0530
committerfahimkhan2016-09-20 17:33:40 +0530
commit36aaf4cdc8f978920db073aba03b136fc8a7a432 (patch)
tree67590cba46977f86e2ae0f59308735eec7b84cc3 /routes/routes.js
parent54cf9ef1c1fd193bc8cb6c9fdc4cd67b6f35753f (diff)
downloadOnline-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.js5
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'});