mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
42 lines
1.2 KiB
JavaScript
42 lines
1.2 KiB
JavaScript
|
/* eslint-disable
|
||
|
max-len,
|
||
|
*/
|
||
|
// TODO: This file was created by bulk-decaffeinate.
|
||
|
// Fix any style issues and re-enable lint.
|
||
|
/*
|
||
|
* decaffeinate suggestions:
|
||
|
* DS102: Remove unnecessary code created because of implicit returns
|
||
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
||
|
*/
|
||
|
const HomeController = require('./HomeController')
|
||
|
const UniversityController = require('./UniversityController')
|
||
|
|
||
|
module.exports = {
|
||
|
apply(webRouter, apiRouter) {
|
||
|
webRouter.get('/', HomeController.index)
|
||
|
webRouter.get('/home', HomeController.home)
|
||
|
|
||
|
webRouter.get(
|
||
|
'/planned_maintenance',
|
||
|
HomeController.externalPage('planned_maintenance', 'Planned Maintenance')
|
||
|
)
|
||
|
webRouter.get(
|
||
|
'/style',
|
||
|
HomeController.externalPage('style_guide', 'Style Guide')
|
||
|
)
|
||
|
|
||
|
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)
|
||
|
return webRouter.get('/university/*', UniversityController.getPage)
|
||
|
}
|
||
|
}
|