forked from eebhub/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.js
58 lines (54 loc) · 1.83 KB
/
routes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
var shell = require('shelljs');
module.exports = {
getHome: function(request, response){
//response.sendfile('./views/home.html');
response.render('home',{
'username': request.session.username
});
},
getTeam: function(request, response){
response.render('team');
},
getSignUp: function(request, response){
response.sendfile('./views/signup.html');
},
getLogIn: function(request, response){
response.sendfile('./views/login.html');
},
getLite: function(request, response){
response.sendfile('./views/lite.html');
},
getLiteConv: function(request, response){
response.sendfile('./views/liteconversion.html');
},
getLiteResults: function(request, response){
response.sendfile('./views/literesults.html');
},
getPartial: function(request, response){
response.sendfile('./views/partial.html');
},
getSubstantial: function(request, response) {
response.sendfile('./views/substantial.html');
},
getComprehensive: function(request, response) {
response.sendfile('./views/comprehensive.html');
},
getNews: function(request, response){
response.sendfile('./views/news.html');
},
getVisits: function(request, response){
response.sendfile('./views/visitors.html');
},
getPresentation: function(request, response){
response.sendfile('./views/presentation.html');
},
getCaseStudies: function(request, response){
response.sendfile('./views/casestudy.html');
},
getEngines: function(request, response){
response.sendfile('./views/engine.html');
},
getAccomplishments: function(request, response){
response.sendfile('./views/accomplishments.html');
}
};