mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
16 lines
399 B
CoffeeScript
16 lines
399 B
CoffeeScript
settings = require("settings-sharelatex")
|
|
logger = require("logger-sharelatex")
|
|
Settings = require("settings-sharelatex")
|
|
sixpack = require("../../infrastructure/Sixpack")
|
|
|
|
|
|
|
|
module.exports = UniversityController =
|
|
|
|
getPage: (req, res, next)->
|
|
url = req.url?.toLowerCase().replace(".html","")
|
|
return res.redirect("/i#{url}")
|
|
|
|
getIndexPage: (req, res)->
|
|
return res.redirect("/i/university")
|
|
|