mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-18 10:52:31 -05:00
20 lines
No EOL
908 B
CoffeeScript
20 lines
No EOL
908 B
CoffeeScript
HomeController = require('./HomeController')
|
|
UniversityController = require("./UniversityController")
|
|
|
|
|
|
module.exports =
|
|
apply: (app) ->
|
|
app.get '/', HomeController.index
|
|
app.get '/home', HomeController.home
|
|
|
|
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")
|
|
|
|
app.get '/dropbox', HomeController.externalPage("dropbox", "Dropbox and ShareLaTeX")
|
|
|
|
app.get '/university', UniversityController.getIndexPage
|
|
app.get '/university/*', UniversityController.getPage |