-
Notifications
You must be signed in to change notification settings - Fork 2
/
routesConfig.js
34 lines (22 loc) · 1.03 KB
/
routesConfig.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
"use strict";
module.exports = function(app) {
//***** Route Files *****//
var mainRoute = require('./routes/main');
var courseRoute = require('./routes/course');
//***** MAIN ROUTES *****//
app.get('/', mainRoute.index);
//***** COURSE ROUTES *****//
app.get('/classes', courseRoute.index);
app.get('/assignments', courseRoute.assignments);
app.get('/code', courseRoute.code);
app.get('/resources', courseRoute.resources);
//***** STUDENT PAGES *****//
//Trailer Mashups
app.get('/assignments/trailermashup/benjamin_rosenbaum', courseRoute.assignments_trailermahup_benjamin);
app.get('/assignments/trailermashup/erin_finnegan', courseRoute.assignments_trailermahup_erin);
app.get('/assignments/trailermashup/lilu_wang', courseRoute.assignments_trailermahup_lilu);
//How To's
app.get('/assignments/howto/michael_rothman', courseRoute.assignments_howto_michael);
app.get('/assignments/howto/westin_wendt', courseRoute.assignments_howto_wes);
app.get('/assignments/howto/lilu_wang', courseRoute.assignments_howto_lilu);
};