mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 06:43:58 +00: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")
|
|
|