2014-06-20 16:17:24 +00:00
|
|
|
HomeController = require('./HomeController')
|
2014-10-08 15:07:44 +00:00
|
|
|
UniversityController = require("./UniversityController")
|
|
|
|
|
2014-06-20 16:17:24 +00:00
|
|
|
|
|
|
|
module.exports =
|
|
|
|
apply: (app) ->
|
|
|
|
app.get '/', HomeController.index
|
2014-07-28 16:04:17 +00:00
|
|
|
app.get '/home', HomeController.home
|
2014-06-20 16:17:24 +00:00
|
|
|
|
|
|
|
app.get '/tos', HomeController.externalPage("tos", "Terms of Service")
|
|
|
|
app.get '/about', HomeController.externalPage("about", "About Us")
|
|
|
|
app.get '/security', HomeController.externalPage("security", "Security")
|
|
|
|
app.get '/privacy_policy', HomeController.externalPage("privacy", "Privacy Policy")
|
|
|
|
app.get '/planned_maintenance', HomeController.externalPage("planned_maintenance", "Planned Maintenance")
|
|
|
|
app.get '/style', HomeController.externalPage("style_guide", "Style Guide")
|
|
|
|
|
2014-10-08 15:07:44 +00:00
|
|
|
app.get '/dropbox', HomeController.externalPage("dropbox", "Dropbox and ShareLaTeX")
|
|
|
|
|
|
|
|
app.get '/university', UniversityController.getIndexPage
|
|
|
|
app.get '/university/*', UniversityController.getPage
|