mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 21:34:53 -05:00
25 lines
1.3 KiB
CoffeeScript
25 lines
1.3 KiB
CoffeeScript
HomeController = require('./HomeController')
|
|
UniversityController = require("./UniversityController")
|
|
|
|
|
|
module.exports =
|
|
apply: (webRouter, apiRouter) ->
|
|
webRouter.get '/', HomeController.index
|
|
webRouter.get '/home', HomeController.home
|
|
|
|
webRouter.get '/tos', HomeController.externalPage("tos", "Terms of Service")
|
|
webRouter.get '/about', HomeController.externalPage("about", "About Us")
|
|
|
|
webRouter.get '/security', HomeController.externalPage("security", "Security")
|
|
webRouter.get '/privacy_policy', HomeController.externalPage("privacy", "Privacy Policy")
|
|
webRouter.get '/planned_maintenance', HomeController.externalPage("planned_maintenance", "Planned Maintenance")
|
|
webRouter.get '/style', HomeController.externalPage("style_guide", "Style Guide")
|
|
webRouter.get '/ol-style', HomeController.externalPage("ol_style_guide", "Overleaf Style Guide")
|
|
webRouter.get '/jobs', HomeController.externalPage("jobs", "Jobs")
|
|
|
|
webRouter.get '/track-changes-and-comments-in-latex', HomeController.externalPage("review-features-page", "Review features")
|
|
|
|
webRouter.get '/dropbox', HomeController.externalPage("dropbox", "Dropbox and ShareLaTeX")
|
|
|
|
webRouter.get '/university', UniversityController.getIndexPage
|
|
webRouter.get '/university/*', UniversityController.getPage
|